#CFC57B#CFC57B

#CFC57B is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.095 H 101.6°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CFC57B
RGBrgb(207, 197, 123)
HSLhsl(53, 47%, 65%)
HSVhsv(53, 41%, 81%)
CMYKcmyk(0%, 4.8%, 40.6%, 18.8%)
CIE-LABlab(78.83, -7.07, 38.34)
CIE-LCHlch(78.83, 38.98, 100.45°)
OKLaboklab(81.5% -0.0191 0.0935)
OKLCHoklch(81.5% 0.095 101.6)
XYZxyz(49.2745, 54.6293, 26.6839)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC57B #7B85CF
analogous
#CF9B7B #CFC57B #AFCF7B
triadic
#CFC57B #7BCFC5 #C57BCF
tetradic
#CFC57B #7BCF9B #7B85CF #CF7BAF
square
#CFC57B #7BCF9B #7B85CF #CF7BAF
split-complementary
#CFC57B #7BAFCF #9B7BCF
monochromatic
#988D37 #BFB14E #CFC57B #DFD9A8 #F0ECD5

Accessibility & contrast

On white

1.76
#CFC57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CFC57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC57B
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC57B#FFFFFF#000000##000000
##CFC57B1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C075
Deuteranopia (green-blind)
#D5C57E
Tritanopia (blue-blind)
#DBBCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc57b;
/* rgb */ color: rgb(207, 197, 123);
/* oklch */ color: oklch(81.5% 0.095 101.6);
Tailwind
colors: {
  custom: {
    50: '#dfd6a2',
    500: '#cfc57b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc57b;
$custom-light: #dfd6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc57b",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 123
  },
  "hsl": {
    "h": 52.857,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81502,
    "c": 0.09541,
    "h": 101.6
  },
  "luminance": 0.54628
}

Semantic roles & 50–950 ramp

primary
#CFC57B
secondary
#50599E
accent
#3DBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC57B

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

Preview Lab → · Contrast checker → · Palette generator →

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