#CFC46F#CFC46F

#CFC46F is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.107 H 102.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CFC46F
RGBrgb(207, 196, 111)
HSLhsl(53, 50%, 62%)
HSVhsv(53, 46%, 81%)
CMYKcmyk(0%, 5.3%, 46.4%, 18.8%)
CIE-LABlab(78.40, -7.78, 43.83)
CIE-LCHlch(78.40, 44.52, 100.06°)
OKLaboklab(81.11% -0.0222 0.1051)
OKLCHoklch(81.11% 0.107 102)
XYZxyz(48.3425, 53.8945, 22.8920)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC46F #6F7ACF
analogous
#CF946F #CFC46F #AACF6F
triadic
#CFC46F #6FCFC4 #C46FCF
tetradic
#CFC46F #6FCF94 #6F7ACF #CF6FAA
square
#CFC46F #6FCF94 #6F7ACF #CF6FAA
split-complementary
#CFC46F #6FAACF #946FCF
monochromatic
#938731 #C0B141 #CFC46F #DED79D #EEEACB

Accessibility & contrast

On white

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

On black

11.78
#CFC46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC46F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC46F#FFFFFF#000000##000000
##CFC46F1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF68
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#DCBAB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc46f;
/* rgb */ color: rgb(207, 196, 111);
/* oklch */ color: oklch(81.1% 0.107 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd59a',
    500: '#cfc46f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc46f;
$custom-light: #dfd59a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc46f",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 111
  },
  "hsl": {
    "h": 53.125,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8111,
    "c": 0.10745,
    "h": 102
  },
  "luminance": 0.53893
}

Semantic roles & 50–950 ramp

primary
#CFC46F
secondary
#4A5399
accent
#39BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC46F

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

Preview Lab → · Contrast checker → · Palette generator →

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