#CFC06E#CFC06E

#CFC06E is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.105 H 99.2°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CFC06E
RGBrgb(207, 192, 110)
HSLhsl(51, 50%, 62%)
HSVhsv(51, 47%, 81%)
CMYKcmyk(0%, 7.2%, 46.9%, 18.8%)
CIE-LABlab(77.34, -5.81, 43.02)
CIE-LCHlch(77.34, 43.41, 97.69°)
OKLaboklab(80.26% -0.0167 0.1032)
OKLCHoklch(80.26% 0.105 99.2)
XYZxyz(47.3975, 52.0921, 22.3069)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC06E #6E7DCF
analogous
#CF906E #CFC06E #ADCF6E
triadic
#CFC06E #6ECFC0 #C06ECF
tetradic
#CFC06E #6ECF90 #6E7DCF #CF6EAD
square
#CFC06E #6ECF90 #6E7DCF #CF6EAD
split-complementary
#CFC06E #6EADCF #906ECF
monochromatic
#928330 #C0AC40 #CFC06E #DED49C #EDE8CA

Accessibility & contrast

On white

1.84
#CFC06E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CFC06E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC06E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC06E#FFFFFF#000000##000000
##CFC06E1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC67
Deuteranopia (green-blind)
#D2C271
Tritanopia (blue-blind)
#DCB5AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc06e;
/* rgb */ color: rgb(207, 192, 110);
/* oklch */ color: oklch(80.3% 0.105 99.2);
Tailwind
colors: {
  custom: {
    50: '#dfd299',
    500: '#cfc06e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc06e;
$custom-light: #dfd299;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc06e",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 110
  },
  "hsl": {
    "h": 50.722,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80262,
    "c": 0.10458,
    "h": 99.2
  },
  "luminance": 0.5209
}

Semantic roles & 50–950 ramp

primary
#CFC06E
secondary
#495598
accent
#3FBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC06E

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

Preview Lab → · Contrast checker → · Palette generator →

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