#CBC06F#CBC06F

#CBC06F is a light, moderate yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.103 H 101.6°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CBC06F
RGBrgb(203, 192, 111)
HSLhsl(53, 47%, 62%)
HSVhsv(53, 45%, 80%)
CMYKcmyk(0%, 5.4%, 45.3%, 20.4%)
CIE-LABlab(77.01, -7.34, 42.04)
CIE-LCHlch(77.01, 42.68, 99.91°)
OKLaboklab(79.93% -0.0208 0.1012)
OKLCHoklch(79.93% 0.103 101.6)
XYZxyz(46.3486, 51.5449, 22.5435)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC06F #6F7ACB
analogous
#CB926F #CBC06F #A8CB6F
triadic
#CBC06F #6FCBC0 #C06FCB
tetradic
#CBC06F #6FCB92 #6F7ACB #CB6FA8
square
#CBC06F #6FCB92 #6F7ACB #CB6FA8
split-complementary
#CBC06F #6FA8CB #926FCB
monochromatic
#8D8233 #BAAC43 #CBC06F #DBD49C #EBE7C9

Accessibility & contrast

On white

1.86
#CBC06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CBC06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC06F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC06F#FFFFFF#000000##000000
##CBC06F1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB68
Deuteranopia (green-blind)
#D1C072
Tritanopia (blue-blind)
#D7B6AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc06f;
/* rgb */ color: rgb(203, 192, 111);
/* oklch */ color: oklch(79.9% 0.103 101.6);
Tailwind
colors: {
  custom: {
    50: '#dcd29a',
    500: '#cbc06f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc06f;
$custom-light: #dcd29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc06f",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 111
  },
  "hsl": {
    "h": 52.826,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.79925,
    "c": 0.10328,
    "h": 101.6
  },
  "luminance": 0.51543
}

Semantic roles & 50–950 ramp

primary
#CBC06F
secondary
#4B5394
accent
#3CBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC06F

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

Preview Lab → · Contrast checker → · Palette generator →

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