#B7C122#B7C122

#B7C122 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.7% C 0.166 H 113.5°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#B7C122
RGBrgb(183, 193, 34)
HSLhsl(64, 70%, 45%)
HSVhsv(64, 82%, 76%)
CMYKcmyk(5.2%, 0%, 82.4%, 24.3%)
CIE-LABlab(75.03, -21.17, 70.50)
CIE-LCHlch(75.03, 73.61, 106.72°)
OKLaboklab(77.75% -0.0662 0.1522)
OKLCHoklch(77.75% 0.166 113.5)
XYZxyz(38.8884, 48.3236, 8.7919)
Luminance0.4832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C122 #2C22C1
analogous
#C17C22 #B7C122 #67C122
triadic
#B7C122 #22B7C1 #C122B7
tetradic
#B7C122 #22C17C #2C22C1 #C12267
square
#B7C122 #22C17C #2C22C1 #C12267
split-complementary
#B7C122 #2267C1 #7C22C1
monochromatic
#545910 #868D19 #B7C122 #D4DE42 #E0E776

Accessibility & contrast

On white

1.97
#B7C122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#B7C122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C122
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C122#FFFFFF#000000##000000
##B7C1221.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#D0BA33
Tritanopia (blue-blind)
#C4B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c122;
/* rgb */ color: rgb(183, 193, 34);
/* oklch */ color: oklch(77.7% 0.166 113.5);
Tailwind
colors: {
  custom: {
    50: '#d1d36e',
    500: '#b7c122',
    950: '#000000',
  },
}
SCSS
$custom: #b7c122;
$custom-light: #d1d36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c122",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 34
  },
  "hsl": {
    "h": 63.774,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77749,
    "c": 0.16598,
    "h": 113.5
  },
  "luminance": 0.48323
}

Semantic roles & 50–950 ramp

primary
#B7C122
secondary
#7671CE
accent
#3BED46
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B7C122

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B7C122 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva