#CFC34A#CFC34A

#CFC34A is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.140 H 103.6°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CFC34A
RGBrgb(207, 195, 74)
HSLhsl(55, 58%, 55%)
HSVhsv(55, 64%, 81%)
CMYKcmyk(0%, 5.8%, 64.3%, 18.8%)
CIE-LABlab(77.75, -10.16, 60.17)
CIE-LCHlch(77.75, 61.03, 99.59°)
OKLaboklab(80.47% -0.0331 0.1363)
OKLCHoklch(80.47% 0.14 103.6)
XYZxyz(46.4851, 52.7918, 14.2185)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC34A #4A56CF
analogous
#CF804A #CFC34A #99CF4A
triadic
#CFC34A #4ACFC3 #C34ACF
tetradic
#CFC34A #4ACF80 #4A56CF #CF4A99
square
#CFC34A #4ACF80 #4A56CF #CF4A99
split-complementary
#CFC34A #4A99CF #804ACF
monochromatic
#7D7521 #AEA22E #CFC34A #DCD37A #E9E3AB

Accessibility & contrast

On white

1.82
#CFC34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CFC34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC34A
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC34A#FFFFFF#000000##000000
##CFC34A1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3B
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#DEB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc34a;
/* rgb */ color: rgb(207, 195, 74);
/* oklch */ color: oklch(80.5% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#e1d482',
    500: '#cfc34a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc34a;
$custom-light: #e1d482;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc34a",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 74
  },
  "hsl": {
    "h": 54.586,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80472,
    "c": 0.14028,
    "h": 103.6
  },
  "luminance": 0.5279
}

Semantic roles & 50–950 ramp

primary
#CFC34A
secondary
#383F85
accent
#54E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC34A

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

Preview Lab → · Contrast checker → · Palette generator →

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