#CFC46B#CFC46B

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

Color values

HEX#CFC46B
RGBrgb(207, 196, 107)
HSLhsl(53, 51%, 62%)
HSVhsv(53, 48%, 81%)
CMYKcmyk(0%, 5.3%, 48.3%, 18.8%)
CIE-LABlab(78.35, -8.16, 45.74)
CIE-LCHlch(78.35, 46.47, 100.11°)
OKLaboklab(81.05% -0.0237 0.1091)
OKLCHoklch(81.05% 0.112 102.3)
XYZxyz(48.1272, 53.8083, 21.7580)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC46B #6B76CF
analogous
#CF926B #CFC46B #A8CF6B
triadic
#CFC46B #6BCFC4 #C46BCF
tetradic
#CFC46B #6BCF92 #6B76CF #CF6BA8
square
#CFC46B #6BCF92 #6B76CF #CF6BA8
split-complementary
#CFC46B #6BA8CF #926BCF
monochromatic
#91862F #BFB13E #CFC46B #DED699 #EDE9C7

Accessibility & contrast

On white

1.79
#CFC46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CFC46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC46B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC46B#FFFFFF#000000##000000
##CFC46B1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc46b;
/* rgb */ color: rgb(207, 196, 107);
/* oklch */ color: oklch(81.1% 0.112 102.3);
Tailwind
colors: {
  custom: {
    50: '#dfd597',
    500: '#cfc46b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc46b;
$custom-light: #dfd597;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc46b",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 107
  },
  "hsl": {
    "h": 53.4,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81054,
    "c": 0.1116,
    "h": 102.3
  },
  "luminance": 0.53807
}

Semantic roles & 50–950 ramp

primary
#CFC46B
secondary
#475097
accent
#38BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC46B

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

Preview Lab → · Contrast checker → · Palette generator →

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