#CFC07D#CFC07D

#CFC07D is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.088 H 97.1°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CFC07D
RGBrgb(207, 192, 125)
HSLhsl(49, 46%, 65%)
HSVhsv(49, 40%, 81%)
CMYKcmyk(0%, 7.2%, 39.6%, 18.8%)
CIE-LABlab(77.55, -4.26, 35.67)
CIE-LCHlch(77.55, 35.93, 96.82°)
OKLaboklab(80.5% -0.0109 0.0875)
OKLCHoklch(80.5% 0.088 97.1)
XYZxyz(48.2844, 52.4469, 26.9779)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC07D #7D8CCF
analogous
#CF977D #CFC07D #B5CF7D
triadic
#CFC07D #7DCFC0 #C07DCF
tetradic
#CFC07D #7DCF97 #7D8CCF #CF7DB5
square
#CFC07D #7DCF97 #7D8CCF #CF7DB5
split-complementary
#CFC07D #7DB5CF #977DCF
monochromatic
#998739 #BEAA50 #CFC07D #E0D6AA #F0EBD6

Accessibility & contrast

On white

1.83
#CFC07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CFC07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC07D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC07D#FFFFFF#000000##000000
##CFC07D1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD78
Deuteranopia (green-blind)
#D1C27F
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc07d;
/* rgb */ color: rgb(207, 192, 125);
/* oklch */ color: oklch(80.5% 0.088 97.1);
Tailwind
colors: {
  custom: {
    50: '#dfd2a3',
    500: '#cfc07d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc07d;
$custom-light: #dfd2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc07d",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 125
  },
  "hsl": {
    "h": 49.024,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80499,
    "c": 0.08815,
    "h": 97.1
  },
  "luminance": 0.52445
}

Semantic roles & 50–950 ramp

primary
#CFC07D
secondary
#51609F
accent
#46B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC07D

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

Preview Lab → · Contrast checker → · Palette generator →

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