#CFC44F#CFC44F

#CFC44F is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.137 H 103.9°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CFC44F
RGBrgb(207, 196, 79)
HSLhsl(55, 57%, 56%)
HSVhsv(55, 62%, 81%)
CMYKcmyk(0%, 5.3%, 61.8%, 18.8%)
CIE-LABlab(78.06, -10.36, 58.38)
CIE-LCHlch(78.06, 59.29, 100.06°)
OKLaboklab(80.73% -0.0331 0.1333)
OKLCHoklch(80.73% 0.137 103.9)
XYZxyz(46.8850, 53.3115, 15.2161)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC44F #4F5ACF
analogous
#CF844F #CFC44F #9ACF4F
triadic
#CFC44F #4FCFC4 #C44FCF
tetradic
#CFC44F #4FCF84 #4F5ACF #CF4F9A
square
#CFC44F #4FCF84 #4F5ACF #CF4F9A
split-complementary
#CFC44F #4F9ACF #844FCF
monochromatic
#817923 #B1A630 #CFC44F #DCD47F #E9E4AF

Accessibility & contrast

On white

1.80
#CFC44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CFC44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC44F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC44F#FFFFFF#000000##000000
##CFC44F1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE41
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#DEB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc44f;
/* rgb */ color: rgb(207, 196, 79);
/* oklch */ color: oklch(80.7% 0.137 103.9);
Tailwind
colors: {
  custom: {
    50: '#e1d585',
    500: '#cfc44f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc44f;
$custom-light: #e1d585;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc44f",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 54.844,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80729,
    "c": 0.13731,
    "h": 103.9
  },
  "luminance": 0.5331
}

Semantic roles & 50–950 ramp

primary
#CFC44F
secondary
#3A4188
accent
#55E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC44F

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

Preview Lab → · Contrast checker → · Palette generator →

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