#CFC46D#CFC46D

#CFC46D is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.110 H 102.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CFC46D
RGBrgb(207, 196, 109)
HSLhsl(53, 51%, 62%)
HSVhsv(53, 47%, 81%)
CMYKcmyk(0%, 5.3%, 47.3%, 18.8%)
CIE-LABlab(78.37, -7.97, 44.79)
CIE-LCHlch(78.37, 45.50, 100.09°)
OKLaboklab(81.08% -0.023 0.1071)
OKLCHoklch(81.08% 0.11 102.1)
XYZxyz(48.2336, 53.8509, 22.3185)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC46D #6D78CF
analogous
#CF936D #CFC46D #A9CF6D
triadic
#CFC46D #6DCFC4 #C46DCF
tetradic
#CFC46D #6DCF93 #6D78CF #CF6DA9
square
#CFC46D #6DCF93 #6D78CF #CF6DA9
split-complementary
#CFC46D #6DA9CF #936DCF
monochromatic
#928730 #C0B13F #CFC46D #DED79B #EDE9C9

Accessibility & contrast

On white

1.78
#CFC46D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CFC46D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC46D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC46D#FFFFFF#000000##000000
##CFC46D1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF66
Deuteranopia (green-blind)
#D6C471
Tritanopia (blue-blind)
#DCB9AF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc46d;
/* rgb */ color: rgb(207, 196, 109);
/* oklch */ color: oklch(81.1% 0.110 102.1);
Tailwind
colors: {
  custom: {
    50: '#dfd598',
    500: '#cfc46d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc46d;
$custom-light: #dfd598;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc46d",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 109
  },
  "hsl": {
    "h": 53.265,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81082,
    "c": 0.10953,
    "h": 102.1
  },
  "luminance": 0.53849
}

Semantic roles & 50–950 ramp

primary
#CFC46D
secondary
#485198
accent
#38BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC46D

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

Preview Lab → · Contrast checker → · Palette generator →

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