#CFC75D#CFC75D

#CFC75D is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.128 H 104.9°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CFC75D
RGBrgb(207, 199, 93)
HSLhsl(56, 54%, 59%)
HSVhsv(56, 55%, 81%)
CMYKcmyk(0%, 3.9%, 55.1%, 18.8%)
CIE-LABlab(78.99, -10.88, 53.16)
CIE-LCHlch(78.99, 54.27, 101.57°)
OKLaboklab(81.51% -0.033 0.1239)
OKLCHoklch(81.51% 0.128 104.9)
XYZxyz(48.1328, 54.9041, 18.4159)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC75D #5D65CF
analogous
#CF8E5D #CFC75D #9ECF5D
triadic
#CFC75D #5DCFC7 #C75DCF
tetradic
#CFC75D #5DCF8E #5D65CF #CF5D9E
square
#CFC75D #5DCF8E #5D65CF #CF5D9E
split-complementary
#CFC75D #5D9ECF #8E5DCF
monochromatic
#898229 #B8AF37 #CFC75D #DDD78C #EBE8BB

Accessibility & contrast

On white

1.75
#CFC75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CFC75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC75D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC75D#FFFFFF#000000##000000
##CFC75D1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C152
Deuteranopia (green-blind)
#D9C662
Tritanopia (blue-blind)
#DDBBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc75d;
/* rgb */ color: rgb(207, 199, 93);
/* oklch */ color: oklch(81.5% 0.128 104.9);
Tailwind
colors: {
  custom: {
    50: '#e0d78e',
    500: '#cfc75d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc75d;
$custom-light: #e0d78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc75d",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 55.789,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81508,
    "c": 0.12821,
    "h": 104.9
  },
  "luminance": 0.54903
}

Semantic roles & 50–950 ramp

primary
#CFC75D
secondary
#414690
accent
#55DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC75D

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

Preview Lab → · Contrast checker → · Palette generator →

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