#CFC34B#CFC34B

#CFC34B 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#CFC34B
RGBrgb(207, 195, 75)
HSLhsl(55, 58%, 55%)
HSVhsv(55, 64%, 81%)
CMYKcmyk(0%, 5.8%, 63.8%, 18.8%)
CIE-LABlab(77.76, -10.10, 59.76)
CIE-LCHlch(77.76, 60.61, 99.60°)
OKLaboklab(80.48% -0.0328 0.1356)
OKLCHoklch(80.48% 0.14 103.6)
XYZxyz(46.5190, 52.8054, 14.3973)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC34B #4B57CF
analogous
#CF814B #CFC34B #99CF4B
triadic
#CFC34B #4BCFC3 #C34BCF
tetradic
#CFC34B #4BCF81 #4B57CF #CF4B99
square
#CFC34B #4BCF81 #4B57CF #CF4B99
split-complementary
#CFC34B #4B99CF #814BCF
monochromatic
#7E7622 #AEA32E #CFC34B #DCD37B #E9E3AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC34B#FFFFFF#000000##000000
##CFC34B1.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)
#D4BD3C
Deuteranopia (green-blind)
#D7C352
Tritanopia (blue-blind)
#DEB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc34b;
/* rgb */ color: rgb(207, 195, 75);
/* oklch */ color: oklch(80.5% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#e1d483',
    500: '#cfc34b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc34b;
$custom-light: #e1d483;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc34b",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 75
  },
  "hsl": {
    "h": 54.545,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8048,
    "c": 0.13952,
    "h": 103.6
  },
  "luminance": 0.52804
}

Semantic roles & 50–950 ramp

primary
#CFC34B
secondary
#394086
accent
#55E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC34B

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

Preview Lab → · Contrast checker → · Palette generator →

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