#CFC36F#CFC36F

#CFC36F is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.106 H 101.2°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CFC36F
RGBrgb(207, 195, 111)
HSLhsl(53, 50%, 62%)
HSVhsv(53, 46%, 81%)
CMYKcmyk(0%, 5.8%, 46.4%, 18.8%)
CIE-LABlab(78.14, -7.27, 43.51)
CIE-LCHlch(78.14, 44.11, 99.48°)
OKLaboklab(80.9% -0.0208 0.1044)
OKLCHoklch(80.9% 0.106 101.2)
XYZxyz(48.1177, 53.4449, 22.8171)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC36F #6F7BCF
analogous
#CF936F #CFC36F #ABCF6F
triadic
#CFC36F #6FCFC3 #C36FCF
tetradic
#CFC36F #6FCF93 #6F7BCF #CF6FAB
square
#CFC36F #6FCF93 #6F7BCF #CF6FAB
split-complementary
#CFC36F #6FABCF #936FCF
monochromatic
#938631 #C0B041 #CFC36F #DED69D #EEE9CB

Accessibility & contrast

On white

1.80
#CFC36F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CFC36F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC36F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC36F#FFFFFF#000000##000000
##CFC36F1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE68
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#DCB9AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc36f;
/* rgb */ color: rgb(207, 195, 111);
/* oklch */ color: oklch(80.9% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#dfd59a',
    500: '#cfc36f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc36f;
$custom-light: #dfd59a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc36f",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 111
  },
  "hsl": {
    "h": 52.5,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80901,
    "c": 0.10644,
    "h": 101.2
  },
  "luminance": 0.53443
}

Semantic roles & 50–950 ramp

primary
#CFC36F
secondary
#4A5399
accent
#3BBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC36F

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

Preview Lab → · Contrast checker → · Palette generator →

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