#CFC34D#CFC34D

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

Color values

HEX#CFC34D
RGBrgb(207, 195, 77)
HSLhsl(54, 58%, 56%)
HSVhsv(54, 63%, 81%)
CMYKcmyk(0%, 5.8%, 62.8%, 18.8%)
CIE-LABlab(77.78, -9.98, 58.94)
CIE-LCHlch(77.78, 59.77, 99.61°)
OKLaboklab(80.5% -0.0322 0.1342)
OKLCHoklch(80.5% 0.138 103.5)
XYZxyz(46.5885, 52.8332, 14.7635)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC34D #4D59CF
analogous
#CF824D #CFC34D #9ACF4D
triadic
#CFC34D #4DCFC3 #C34DCF
tetradic
#CFC34D #4DCF82 #4D59CF #CF4D9A
square
#CFC34D #4DCF82 #4D59CF #CF4D9A
split-complementary
#CFC34D #4D9ACF #824DCF
monochromatic
#7F7722 #AFA42F #CFC34D #DCD37D #E9E3AD

Accessibility & contrast

On white

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

On black

11.57
#CFC34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC34D
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC34D#FFFFFF#000000##000000
##CFC34D1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc34d;
/* rgb */ color: rgb(207, 195, 77);
/* oklch */ color: oklch(80.5% 0.138 103.5);
Tailwind
colors: {
  custom: {
    50: '#e1d484',
    500: '#cfc34d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc34d;
$custom-light: #e1d484;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc34d",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 77
  },
  "hsl": {
    "h": 54.462,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80499,
    "c": 0.13797,
    "h": 103.5
  },
  "luminance": 0.52831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC34D

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

Preview Lab → · Contrast checker → · Palette generator →

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