#B7C74E#B7C74E

#B7C74E is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.4% C 0.146 H 116.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#B7C74E
RGBrgb(183, 199, 78)
HSLhsl(68, 52%, 54%)
HSVhsv(68, 61%, 78%)
CMYKcmyk(8%, 0%, 60.8%, 22%)
CIE-LABlab(76.96, -21.89, 57.07)
CIE-LCHlch(76.96, 61.12, 110.99°)
OKLaboklab(79.38% -0.0644 0.1309)
OKLCHoklch(79.38% 0.146 116.2)
XYZxyz(41.3278, 51.4647, 14.9628)
Luminance0.5146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C74E #5E4EC7
analogous
#C79B4E #B7C74E #7BC74E
triadic
#B7C74E #4EB7C7 #C74EB7
tetradic
#B7C74E #4EC79B #5E4EC7 #C74E7B
square
#B7C74E #4EC79B #5E4EC7 #C74E7B
split-complementary
#B7C74E #4E7BC7 #9B4EC7
monochromatic
#6B7525 #95A434 #B7C74E #CAD67C #DDE4AB

Accessibility & contrast

On white

1.86
#B7C74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#B7C74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C74E
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C74E#FFFFFF#000000##000000
##B7C74E1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD40
Deuteranopia (green-blind)
#D3BF56
Tritanopia (blue-blind)
#C2BCAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c74e;
/* rgb */ color: rgb(183, 199, 78);
/* oklch */ color: oklch(79.4% 0.146 116.2);
Tailwind
colors: {
  custom: {
    50: '#cfd785',
    500: '#b7c74e',
    950: '#000000',
  },
}
SCSS
$custom: #b7c74e;
$custom-light: #cfd785;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c74e",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 67.934,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79383,
    "c": 0.14585,
    "h": 116.2
  },
  "luminance": 0.51464
}

Semantic roles & 50–950 ramp

primary
#B7C74E
secondary
#443B7E
accent
#4CDB5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C74E

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

Preview Lab → · Contrast checker → · Palette generator →

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