#CFC45D#CFC45D

#CFC45D is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.125 H 103.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CFC45D
RGBrgb(207, 196, 93)
HSLhsl(54, 54%, 59%)
HSVhsv(54, 55%, 81%)
CMYKcmyk(0%, 5.3%, 55.1%, 18.8%)
CIE-LABlab(78.19, -9.35, 52.25)
CIE-LCHlch(78.19, 53.08, 100.15°)
OKLaboklab(80.88% -0.0287 0.1219)
OKLCHoklch(80.88% 0.125 103.2)
XYZxyz(47.4494, 53.5372, 18.1881)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC45D #5D68CF
analogous
#CF8B5D #CFC45D #A1CF5D
triadic
#CFC45D #5DCFC4 #C45DCF
tetradic
#CFC45D #5DCF8B #5D68CF #CF5DA1
square
#CFC45D #5DCF8B #5D68CF #CF5DA1
split-complementary
#CFC45D #5DA1CF #8B5DCF
monochromatic
#898029 #B8AC37 #CFC45D #DDD58C #EBE6BB

Accessibility & contrast

On white

1.79
#CFC45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CFC45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC45D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC45D#FFFFFF#000000##000000
##CFC45D1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE53
Deuteranopia (green-blind)
#D7C462
Tritanopia (blue-blind)
#DDB8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc45d;
/* rgb */ color: rgb(207, 196, 93);
/* oklch */ color: oklch(80.9% 0.125 103.2);
Tailwind
colors: {
  custom: {
    50: '#e0d58e',
    500: '#cfc45d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc45d;
$custom-light: #e0d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc45d",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 54.211,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80877,
    "c": 0.12524,
    "h": 103.2
  },
  "luminance": 0.53536
}

Semantic roles & 50–950 ramp

primary
#CFC45D
secondary
#414890
accent
#58DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC45D

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

Preview Lab → · Contrast checker → · Palette generator →

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