#B7C22F#B7C22F

#B7C22F is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.0% C 0.161 H 113.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#B7C22F
RGBrgb(183, 194, 47)
HSLhsl(64, 61%, 47%)
HSVhsv(64, 76%, 76%)
CMYKcmyk(5.7%, 0%, 75.8%, 23.9%)
CIE-LABlab(75.36, -21.20, 67.14)
CIE-LCHlch(75.36, 70.41, 107.52°)
OKLaboklab(78.03% -0.0653 0.1473)
OKLCHoklch(78.03% 0.161 113.9)
XYZxyz(39.3345, 48.8569, 10.0470)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C22F #3A2FC2
analogous
#C2842F #B7C22F #6DC22F
triadic
#B7C22F #2FB7C2 #C22FB7
tetradic
#B7C22F #2FC284 #3A2FC2 #C22F6D
square
#B7C22F #2FC284 #3A2FC2 #C22F6D
split-complementary
#B7C22F #2F6DC2 #842FC2
monochromatic
#5A5F17 #899123 #B7C22F #CDD658 #DCE289

Accessibility & contrast

On white

1.95
#B7C22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#B7C22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C22F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C22F#FFFFFF#000000##000000
##B7C22F1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B807
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#C3B6A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c22f;
/* rgb */ color: rgb(183, 194, 47);
/* oklch */ color: oklch(78.0% 0.161 113.9);
Tailwind
colors: {
  custom: {
    50: '#d0d473',
    500: '#b7c22f',
    950: '#000000',
  },
}
SCSS
$custom: #b7c22f;
$custom-light: #d0d473;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c22f",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 64.49,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78034,
    "c": 0.16112,
    "h": 113.9
  },
  "luminance": 0.48856
}

Semantic roles & 50–950 ramp

primary
#B7C22F
secondary
#8681CC
accent
#44E450
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C22F

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

Preview Lab → · Contrast checker → · Palette generator →

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