#CFC07A#CFC07A

#CFC07A is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.092 H 97.6°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CFC07A
RGBrgb(207, 192, 122)
HSLhsl(49, 47%, 65%)
HSVhsv(49, 41%, 81%)
CMYKcmyk(0%, 7.2%, 41.1%, 18.8%)
CIE-LABlab(77.50, -4.59, 37.16)
CIE-LCHlch(77.50, 37.44, 97.04°)
OKLaboklab(80.45% -0.012 0.0907)
OKLCHoklch(80.45% 0.092 97.6)
XYZxyz(48.0957, 52.3714, 25.9838)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC07A #7A89CF
analogous
#CF967A #CFC07A #B3CF7A
triadic
#CFC07A #7ACFC0 #C07ACF
tetradic
#CFC07A #7ACF96 #7A89CF #CF7AB3
square
#CFC07A #7ACF96 #7A89CF #CF7AB3
split-complementary
#CFC07A #7AB3CF #967ACF
monochromatic
#988737 #BFAB4D #CFC07A #DFD5A7 #EFEBD4

Accessibility & contrast

On white

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

On black

11.47
#CFC07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC07A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC07A#FFFFFF#000000##000000
##CFC07A1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC75
Deuteranopia (green-blind)
#D1C27D
Tritanopia (blue-blind)
#DBB6AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc07a;
/* rgb */ color: rgb(207, 192, 122);
/* oklch */ color: oklch(80.4% 0.092 97.6);
Tailwind
colors: {
  custom: {
    50: '#dfd2a1',
    500: '#cfc07a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc07a;
$custom-light: #dfd2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc07a",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 122
  },
  "hsl": {
    "h": 49.412,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80448,
    "c": 0.09153,
    "h": 97.6
  },
  "luminance": 0.5237
}

Semantic roles & 50–950 ramp

primary
#CFC07A
secondary
#505D9E
accent
#45BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC07A

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

Preview Lab → · Contrast checker → · Palette generator →

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