#CBC97F#CBC97F

#CBC97F is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.095 H 107.0°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CBC97F
RGBrgb(203, 201, 127)
HSLhsl(58, 42%, 65%)
HSVhsv(58, 37%, 80%)
CMYKcmyk(0%, 1%, 37.4%, 20.4%)
CIE-LABlab(79.62, -10.27, 37.24)
CIE-LCHlch(79.62, 38.63, 105.42°)
OKLaboklab(82.07% -0.0279 0.0912)
OKLCHoklch(82.07% 0.095 107)
XYZxyz(49.3467, 56.0031, 28.2847)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC97F #7F81CB
analogous
#CBA37F #CBC97F #A7CB7F
triadic
#CBC97F #7FCBC9 #C97FCB
tetradic
#CBC97F #7FCBA3 #7F81CB #CB7FA7
square
#CBC97F #7FCBA3 #7F81CB #CB7FA7
split-complementary
#CBC97F #7FA7CB #A37FCB
monochromatic
#94913C #B9B753 #CBC97F #DDDBAB #EEEED6

Accessibility & contrast

On white

1.72
#CBC97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#CBC97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC97F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC97F#FFFFFF#000000##000000
##CBC97F1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C379
Deuteranopia (green-blind)
#D6C782
Tritanopia (blue-blind)
#D5C0B7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbc97f;
/* rgb */ color: rgb(203, 201, 127);
/* oklch */ color: oklch(82.1% 0.095 107.0);
Tailwind
colors: {
  custom: {
    50: '#dcd9a5',
    500: '#cbc97f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc97f;
$custom-light: #dcd9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc97f",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 58.421,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82067,
    "c": 0.09536,
    "h": 107
  },
  "luminance": 0.56002
}

Semantic roles & 50–950 ramp

primary
#CBC97F
secondary
#54569A
accent
#34B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC97F

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

Preview Lab → · Contrast checker → · Palette generator →

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