#CFC05D#CFC05D

#CFC05D is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.121 H 100.8°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CFC05D
RGBrgb(207, 192, 93)
HSLhsl(52, 54%, 59%)
HSVhsv(52, 55%, 81%)
CMYKcmyk(0%, 7.2%, 55.1%, 18.8%)
CIE-LABlab(77.14, -7.30, 51.03)
CIE-LCHlch(77.14, 51.55, 98.14°)
OKLaboklab(80.04% -0.0228 0.1193)
OKLCHoklch(80.04% 0.121 100.8)
XYZxyz(46.5591, 51.7567, 17.8913)
Luminance0.5175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC05D #5D6CCF
analogous
#CF875D #CFC05D #A5CF5D
triadic
#CFC05D #5DCFC0 #C05DCF
tetradic
#CFC05D #5DCF87 #5D6CCF #CF5DA5
square
#CFC05D #5DCF87 #5D6CCF #CF5DA5
split-complementary
#CFC05D #5DA5CF #875DCF
monochromatic
#897C29 #B8A737 #CFC05D #DDD28C #EBE5BB

Accessibility & contrast

On white

1.85
#CFC05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CFC05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC05D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC05D#FFFFFF#000000##000000
##CFC05D1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB53
Deuteranopia (green-blind)
#D4C162
Tritanopia (blue-blind)
#DDB4AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc05d;
/* rgb */ color: rgb(207, 192, 93);
/* oklch */ color: oklch(80.0% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#e0d28e',
    500: '#cfc05d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc05d;
$custom-light: #e0d28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc05d",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 52.105,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80038,
    "c": 0.12144,
    "h": 100.8
  },
  "luminance": 0.51755
}

Semantic roles & 50–950 ramp

primary
#CFC05D
secondary
#414B90
accent
#5EDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC05D

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

Preview Lab → · Contrast checker → · Palette generator →

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