#B7C04A#B7C04A

#B7C04A is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.8% C 0.141 H 113.3°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#B7C04A
RGBrgb(183, 192, 74)
HSLhsl(65, 48%, 52%)
HSVhsv(65, 61%, 75%)
CMYKcmyk(4.7%, 0%, 61.5%, 24.7%)
CIE-LABlab(74.99, -18.71, 56.65)
CIE-LCHlch(74.99, 59.66, 108.28°)
OKLaboklab(77.79% -0.0558 0.1295)
OKLCHoklch(77.79% 0.141 113.3)
XYZxyz(39.6151, 48.2617, 13.7058)
Luminance0.4826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C04A #534AC0
analogous
#C08E4A #B7C04A #7CC04A
triadic
#B7C04A #4AB7C0 #C04AB7
tetradic
#B7C04A #4AC08E #534AC0 #C04A7C
square
#B7C04A #4AC08E #534AC0 #C04A7C
split-complementary
#B7C04A #4A7CC0 #8E4AC0
monochromatic
#656B25 #909835 #B7C04A #C9D077 #DBE0A5

Accessibility & contrast

On white

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

On black

10.65
#B7C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C04A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C04A#FFFFFF#000000##000000
##B7C04A1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#CDBA52
Tritanopia (blue-blind)
#C2B5A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c04a;
/* rgb */ color: rgb(183, 192, 74);
/* oklch */ color: oklch(77.8% 0.141 113.3);
Tailwind
colors: {
  custom: {
    50: '#cfd282',
    500: '#b7c04a',
    950: '#000000',
  },
}
SCSS
$custom: #b7c04a;
$custom-light: #cfd282;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c04a",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 64.576,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77794,
    "c": 0.14098,
    "h": 113.3
  },
  "luminance": 0.48261
}

Semantic roles & 50–950 ramp

primary
#B7C04A
secondary
#9D99CD
accent
#50D85A
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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