#CFC07E#CFC07E

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

Color values

HEX#CFC07E
RGBrgb(207, 192, 126)
HSLhsl(49, 46%, 65%)
HSVhsv(49, 39%, 81%)
CMYKcmyk(0%, 7.2%, 39.1%, 18.8%)
CIE-LABlab(77.56, -4.15, 35.18)
CIE-LCHlch(77.56, 35.42, 96.73°)
OKLaboklab(80.52% -0.0105 0.0864)
OKLCHoklch(80.52% 0.087 96.9)
XYZxyz(48.3486, 52.4725, 27.3160)
Luminance0.5247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC07E #7E8DCF
analogous
#CF977E #CFC07E #B5CF7E
triadic
#CFC07E #7ECFC0 #C07ECF
tetradic
#CFC07E #7ECF97 #7E8DCF #CF7EB5
square
#CFC07E #7ECF97 #7E8DCF #CF7EB5
split-complementary
#CFC07E #7EB5CF #977ECF
monochromatic
#998839 #BEAA51 #CFC07E #E0D6AB #F0ECD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC07E#FFFFFF#000000##000000
##CFC07E1.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)
#CCBD79
Deuteranopia (green-blind)
#D1C280
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc07e;
/* rgb */ color: rgb(207, 192, 126);
/* oklch */ color: oklch(80.5% 0.087 96.9);
Tailwind
colors: {
  custom: {
    50: '#dfd2a4',
    500: '#cfc07e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc07e;
$custom-light: #dfd2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc07e",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 126
  },
  "hsl": {
    "h": 48.889,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.80516,
    "c": 0.08701,
    "h": 96.9
  },
  "luminance": 0.52471
}

Semantic roles & 50–950 ramp

primary
#CFC07E
secondary
#52609F
accent
#47B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC07E

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

Preview Lab → · Contrast checker → · Palette generator →

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