#CFC15A#CFC15A

#CFC15A is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.125 H 101.6°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CFC15A
RGBrgb(207, 193, 90)
HSLhsl(53, 55%, 58%)
HSVhsv(53, 57%, 81%)
CMYKcmyk(0%, 6.8%, 56.5%, 18.8%)
CIE-LABlab(77.37, -8.05, 52.70)
CIE-LCHlch(77.37, 53.31, 98.68°)
OKLaboklab(80.21% -0.0253 0.1225)
OKLCHoklch(80.21% 0.125 101.6)
XYZxyz(46.6492, 52.1453, 17.2787)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC15A #5A68CF
analogous
#CF865A #CFC15A #A2CF5A
triadic
#CFC15A #5ACFC1 #C15ACF
tetradic
#CFC15A #5ACF86 #5A68CF #CF5AA2
square
#CFC15A #5ACF86 #5A68CF #CF5AA2
split-complementary
#CFC15A #5AA2CF #865ACF
monochromatic
#877C27 #B7A735 #CFC15A #DDD389 #EBE5B9

Accessibility & contrast

On white

1.84
#CFC15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#CFC15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC15A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC15A#FFFFFF#000000##000000
##CFC15A1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC50
Deuteranopia (green-blind)
#D5C25F
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc15a;
/* rgb */ color: rgb(207, 193, 90);
/* oklch */ color: oklch(80.2% 0.125 101.6);
Tailwind
colors: {
  custom: {
    50: '#e0d38c',
    500: '#cfc15a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc15a;
$custom-light: #e0d38c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc15a",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 90
  },
  "hsl": {
    "h": 52.821,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80213,
    "c": 0.12511,
    "h": 101.6
  },
  "luminance": 0.52144
}

Semantic roles & 50–950 ramp

primary
#CFC15A
secondary
#3F498E
accent
#5BDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC15A

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

Preview Lab → · Contrast checker → · Palette generator →

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