#CFD76B#CFD76B

#CFD76B is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.1% C 0.133 H 112.7°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CFD76B
RGBrgb(207, 215, 107)
HSLhsl(64, 57%, 63%)
HSVhsv(64, 50%, 84%)
CMYKcmyk(3.7%, 0%, 50.2%, 15.7%)
CIE-LABlab(83.40, -17.74, 51.80)
CIE-LCHlch(83.40, 54.75, 108.90°)
OKLaboklab(85.08% -0.0511 0.1223)
OKLCHoklch(85.08% 0.133 112.7)
XYZxyz(52.6874, 62.9287, 23.2780)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD76B #736BD7
analogous
#D7A96B #CFD76B #99D76B
triadic
#CFD76B #6BCFD7 #D76BCF
tetradic
#CFD76B #6BD7A9 #736BD7 #D76B99
square
#CFD76B #6BD7A9 #736BD7 #D76B99
split-complementary
#CFD76B #6B99D7 #A96BD7
monochromatic
#959D2A #BFCA3B #CFD76B #DFE49B #EEF1CB

Accessibility & contrast

On white

1.55
#CFD76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#CFD76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD76B
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD76B#FFFFFF#000000##000000
##CFD76B1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE61
Deuteranopia (green-blind)
#E5D171
Tritanopia (blue-blind)
#DBCCBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd76b;
/* rgb */ color: rgb(207, 215, 107);
/* oklch */ color: oklch(85.1% 0.133 112.7);
Tailwind
colors: {
  custom: {
    50: '#e0e398',
    500: '#cfd76b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd76b;
$custom-light: #e0e398;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd76b",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 107
  },
  "hsl": {
    "h": 64.444,
    "s": 57.447,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85077,
    "c": 0.13257,
    "h": 112.7
  },
  "luminance": 0.62928
}

Semantic roles & 50–950 ramp

primary
#CFD76B
secondary
#4C45A1
accent
#20C52D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD76B

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

Preview Lab → · Contrast checker → · Palette generator →

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