#B7C74C#B7C74C

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

Color values

HEX#B7C74C
RGBrgb(183, 199, 76)
HSLhsl(68, 52%, 54%)
HSVhsv(68, 62%, 78%)
CMYKcmyk(8%, 0%, 61.8%, 22%)
CIE-LABlab(76.94, -22.04, 57.90)
CIE-LCHlch(76.94, 61.95, 110.84°)
OKLaboklab(79.36% -0.065 0.1324)
OKLCHoklch(79.36% 0.147 116.1)
XYZxyz(41.2572, 51.4365, 14.5909)
Luminance0.5144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C74C #5C4CC7
analogous
#C79A4C #B7C74C #7AC74C
triadic
#B7C74C #4CB7C7 #C74CB7
tetradic
#B7C74C #4CC79A #5C4CC7 #C74C7A
square
#B7C74C #4CC79A #5C4CC7 #C74C7A
split-complementary
#B7C74C #4C7AC7 #9A4CC7
monochromatic
#6A7424 #94A333 #B7C74C #CAD67B #DDE4A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C74C#FFFFFF#000000##000000
##B7C74C1.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)
#D4BD3D
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#C2BCAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c74c;
/* rgb */ color: rgb(183, 199, 76);
/* oklch */ color: oklch(79.4% 0.147 116.1);
Tailwind
colors: {
  custom: {
    50: '#cfd783',
    500: '#b7c74c',
    950: '#000000',
  },
}
SCSS
$custom: #b7c74c;
$custom-light: #cfd783;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c74c",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 67.805,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79364,
    "c": 0.14746,
    "h": 116.1
  },
  "luminance": 0.51436
}

Semantic roles & 50–950 ramp

primary
#B7C74C
secondary
#433A7D
accent
#4CDC5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C74C

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

Preview Lab → · Contrast checker → · Palette generator →

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