#CBC07F#CBC07F

#CBC07F is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.085 H 99.8°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CBC07F
RGBrgb(203, 192, 127)
HSLhsl(51, 42%, 65%)
HSVhsv(51, 37%, 80%)
CMYKcmyk(0%, 5.4%, 37.4%, 20.4%)
CIE-LABlab(77.24, -5.64, 34.17)
CIE-LCHlch(77.24, 34.63, 99.37°)
OKLaboklab(80.18% -0.0145 0.0841)
OKLCHoklch(80.18% 0.085 99.8)
XYZxyz(47.3098, 51.9294, 27.6058)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC07F #7F8ACB
analogous
#CB9A7F #CBC07F #B0CB7F
triadic
#CBC07F #7FCBC0 #C07FCB
tetradic
#CBC07F #7FCB9A #7F8ACB #CB7FB0
square
#CBC07F #7FCB9A #7F8ACB #CB7FB0
split-complementary
#CBC07F #7FB0CB #9A7FCB
monochromatic
#94873C #B9AB53 #CBC07F #DDD5AB #EEEBD6

Accessibility & contrast

On white

1.84
#CBC07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CBC07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC07F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC07F#FFFFFF#000000##000000
##CBC07F1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC7A
Deuteranopia (green-blind)
#CFC181
Tritanopia (blue-blind)
#D6B7B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc07f;
/* rgb */ color: rgb(203, 192, 127);
/* oklch */ color: oklch(80.2% 0.085 99.8);
Tailwind
colors: {
  custom: {
    50: '#dcd2a5',
    500: '#cbc07f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc07f;
$custom-light: #dcd2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc07f",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 127
  },
  "hsl": {
    "h": 51.316,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80183,
    "c": 0.08539,
    "h": 99.8
  },
  "luminance": 0.51928
}

Semantic roles & 50–950 ramp

primary
#CBC07F
secondary
#545E9A
accent
#43B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC07F

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

Preview Lab → · Contrast checker → · Palette generator →

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