#CFC94A#CFC94A

#CFC94A is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.146 H 106.6°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CFC94A
RGBrgb(207, 201, 74)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 64%, 81%)
CMYKcmyk(0%, 2.9%, 64.3%, 18.8%)
CIE-LABlab(79.35, -13.21, 61.85)
CIE-LCHlch(79.35, 63.24, 102.06°)
OKLaboklab(81.74% -0.0417 0.1399)
OKLCHoklch(81.74% 0.146 106.6)
XYZxyz(47.8565, 55.5347, 14.6756)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC94A #4A50CF
analogous
#CF864A #CFC94A #93CF4A
triadic
#CFC94A #4ACFC9 #C94ACF
tetradic
#CFC94A #4ACF86 #4A50CF #CF4A93
square
#CFC94A #4ACF86 #4A50CF #CF4A93
split-complementary
#CFC94A #4A93CF #864ACF
monochromatic
#7D7921 #AEA82E #CFC94A #DCD77A #E9E6AB

Accessibility & contrast

On white

1.73
#CFC94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CFC94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC94A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC94A#FFFFFF#000000##000000
##CFC94A1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C239
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc94a;
/* rgb */ color: rgb(207, 201, 74);
/* oklch */ color: oklch(81.7% 0.146 106.6);
Tailwind
colors: {
  custom: {
    50: '#e1d983',
    500: '#cfc94a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc94a;
$custom-light: #e1d983;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc94a",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 57.293,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81742,
    "c": 0.14596,
    "h": 106.6
  },
  "luminance": 0.55533
}

Semantic roles & 50–950 ramp

primary
#CFC94A
secondary
#383C85
accent
#4DE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC94A

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

Preview Lab → · Contrast checker → · Palette generator →

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