#CFC74A#CFC74A

#CFC74A is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.144 H 105.7°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CFC74A
RGBrgb(207, 199, 74)
HSLhsl(56, 58%, 55%)
HSVhsv(56, 64%, 81%)
CMYKcmyk(0%, 3.9%, 64.3%, 18.8%)
CIE-LABlab(78.82, -12.20, 61.29)
CIE-LCHlch(78.82, 62.49, 101.26°)
OKLaboklab(81.32% -0.0389 0.1387)
OKLCHoklch(81.32% 0.144 105.7)
XYZxyz(47.3933, 54.6083, 14.5212)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC74A #4A52CF
analogous
#CF844A #CFC74A #94CF4A
triadic
#CFC74A #4ACFC7 #C74ACF
tetradic
#CFC74A #4ACF84 #4A52CF #CF4A94
square
#CFC74A #4ACF84 #4A52CF #CF4A94
split-complementary
#CFC74A #4A94CF #844ACF
monochromatic
#7D7821 #AEA62E #CFC74A #DCD67A #E9E5AB

Accessibility & contrast

On white

1.76
#CFC74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CFC74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC74A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC74A#FFFFFF#000000##000000
##CFC74A1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03A
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#DEBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc74a;
/* rgb */ color: rgb(207, 199, 74);
/* oklch */ color: oklch(81.3% 0.144 105.7);
Tailwind
colors: {
  custom: {
    50: '#e1d783',
    500: '#cfc74a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc74a;
$custom-light: #e1d783;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc74a",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 56.391,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81317,
    "c": 0.14403,
    "h": 105.7
  },
  "luminance": 0.54607
}

Semantic roles & 50–950 ramp

primary
#CFC74A
secondary
#383D85
accent
#50E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC74A

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

Preview Lab → · Contrast checker → · Palette generator →

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