#CFC35D#CFC35D

#CFC35D is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.124 H 102.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CFC35D
RGBrgb(207, 195, 93)
HSLhsl(54, 54%, 59%)
HSVhsv(54, 55%, 81%)
CMYKcmyk(0%, 5.8%, 55.1%, 18.8%)
CIE-LABlab(77.93, -8.84, 51.95)
CIE-LCHlch(77.93, 52.69, 99.66°)
OKLaboklab(80.67% -0.0272 0.1213)
OKLCHoklch(80.67% 0.124 102.6)
XYZxyz(47.2245, 53.0876, 18.1131)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC35D #5D69CF
analogous
#CF8A5D #CFC35D #A2CF5D
triadic
#CFC35D #5DCFC3 #C35DCF
tetradic
#CFC35D #5DCF8A #5D69CF #CF5DA2
square
#CFC35D #5DCF8A #5D69CF #CF5DA2
split-complementary
#CFC35D #5DA2CF #8A5DCF
monochromatic
#897F29 #B8AB37 #CFC35D #DDD48C #EBE6BB

Accessibility & contrast

On white

1.81
#CFC35D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CFC35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC35D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC35D#FFFFFF#000000##000000
##CFC35D1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD53
Deuteranopia (green-blind)
#D6C362
Tritanopia (blue-blind)
#DDB7AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc35d;
/* rgb */ color: rgb(207, 195, 93);
/* oklch */ color: oklch(80.7% 0.124 102.6);
Tailwind
colors: {
  custom: {
    50: '#e0d48e',
    500: '#cfc35d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc35d;
$custom-light: #e0d48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc35d",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 93
  },
  "hsl": {
    "h": 53.684,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80667,
    "c": 0.12427,
    "h": 102.6
  },
  "luminance": 0.53086
}

Semantic roles & 50–950 ramp

primary
#CFC35D
secondary
#414990
accent
#5ADE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC35D

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

Preview Lab → · Contrast checker → · Palette generator →

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