#CFC34E#CFC34E

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

Color values

HEX#CFC34E
RGBrgb(207, 195, 78)
HSLhsl(54, 57%, 56%)
HSVhsv(54, 62%, 81%)
CMYKcmyk(0%, 5.8%, 62.3%, 18.8%)
CIE-LABlab(77.78, -9.91, 58.52)
CIE-LCHlch(77.78, 59.35, 99.62°)
OKLaboklab(80.51% -0.0319 0.1334)
OKLCHoklch(80.51% 0.137 103.5)
XYZxyz(46.6241, 52.8474, 14.9509)
Luminance0.5285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC34E #4E5ACF
analogous
#CF824E #CFC34E #9ACF4E
triadic
#CFC34E #4ECFC3 #C34ECF
tetradic
#CFC34E #4ECF82 #4E5ACF #CF4E9A
square
#CFC34E #4ECF82 #4E5ACF #CF4E9A
split-complementary
#CFC34E #4E9ACF #824ECF
monochromatic
#807723 #B0A430 #CFC34E #DCD37E #E9E4AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC34E#FFFFFF#000000##000000
##CFC34E1.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)
#D3BD40
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#DEB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc34e;
/* rgb */ color: rgb(207, 195, 78);
/* oklch */ color: oklch(80.5% 0.137 103.5);
Tailwind
colors: {
  custom: {
    50: '#e1d485',
    500: '#cfc34e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc34e;
$custom-light: #e1d485;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc34e",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 78
  },
  "hsl": {
    "h": 54.419,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80508,
    "c": 0.13718,
    "h": 103.5
  },
  "luminance": 0.52846
}

Semantic roles & 50–950 ramp

primary
#CFC34E
secondary
#3A4187
accent
#55E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC34E

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

Preview Lab → · Contrast checker → · Palette generator →

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