#CFC07C#CFC07C

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

Color values

HEX#CFC07C
RGBrgb(207, 192, 124)
HSLhsl(49, 46%, 65%)
HSVhsv(49, 40%, 81%)
CMYKcmyk(0%, 7.2%, 40.1%, 18.8%)
CIE-LABlab(77.53, -4.37, 36.17)
CIE-LCHlch(77.53, 36.43, 96.90°)
OKLaboklab(80.48% -0.0113 0.0886)
OKLCHoklch(80.48% 0.089 97.3)
XYZxyz(48.2209, 52.4214, 26.6431)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC07C #7C8BCF
analogous
#CF977C #CFC07C #B4CF7C
triadic
#CFC07C #7CCFC0 #C07CCF
tetradic
#CFC07C #7CCF97 #7C8BCF #CF7CB4
square
#CFC07C #7CCF97 #7C8BCF #CF7CB4
split-complementary
#CFC07C #7CB4CF #977CCF
monochromatic
#998738 #BFAA4F #CFC07C #DFD6A9 #F0EBD6

Accessibility & contrast

On white

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

On black

11.48
#CFC07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC07C
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC07C#FFFFFF#000000##000000
##CFC07C1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc07c;
/* rgb */ color: rgb(207, 192, 124);
/* oklch */ color: oklch(80.5% 0.089 97.3);
Tailwind
colors: {
  custom: {
    50: '#dfd2a3',
    500: '#cfc07c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc07c;
$custom-light: #dfd2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc07c",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 124
  },
  "hsl": {
    "h": 49.157,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80482,
    "c": 0.08928,
    "h": 97.3
  },
  "luminance": 0.5242
}

Semantic roles & 50–950 ramp

primary
#CFC07C
secondary
#515F9E
accent
#46BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC07C

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

Preview Lab → · Contrast checker → · Palette generator →

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