#CBC697#CBC697

#CBC697 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.063 H 102.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CBC697
RGBrgb(203, 198, 151)
HSLhsl(54, 33%, 69%)
HSVhsv(54, 26%, 80%)
CMYKcmyk(0%, 2.5%, 25.6%, 20.4%)
CIE-LABlab(79.23, -5.73, 24.25)
CIE-LCHlch(79.23, 24.91, 103.29°)
OKLaboklab(81.89% -0.0137 0.0613)
OKLCHoklch(81.89% 0.063 102.6)
XYZxyz(50.4087, 55.3199, 37.2945)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC697 #979CCB
analogous
#CBAC97 #CBC697 #B6CB97
triadic
#CBC697 #97CBC6 #C697CB
tetradic
#CBC697 #97CBAC #979CCB #CB97B6
square
#CBC697 #97CBAC #979CCB #CB97B6
split-complementary
#CBC697 #97B6CB #AC97CB
monochromatic
#9A934D #B7B06E #CBC697 #DFDCC0 #F4F3E9

Accessibility & contrast

On white

1.74
#CBC697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CBC697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC697
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC697#FFFFFF#000000##000000
##CBC6971.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC394
Deuteranopia (green-blind)
#D1C699
Tritanopia (blue-blind)
#D3C0B9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc697;
/* rgb */ color: rgb(203, 198, 151);
/* oklch */ color: oklch(81.9% 0.063 102.6);
Tailwind
colors: {
  custom: {
    50: '#dbd7b6',
    500: '#cbc697',
    950: '#000000',
  },
}
SCSS
$custom: #cbc697;
$custom-light: #dbd7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc697",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 151
  },
  "hsl": {
    "h": 54.231,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.81889,
    "c": 0.06281,
    "h": 102.6
  },
  "luminance": 0.55319
}

Semantic roles & 50–950 ramp

primary
#CBC697
secondary
#666CA0
accent
#44AC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CBC697

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

Preview Lab → · Contrast checker → · Palette generator →

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