#CBC77F#CBC77F

#CBC77F is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.093 H 105.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CBC77F
RGBrgb(203, 199, 127)
HSLhsl(57, 42%, 65%)
HSVhsv(57, 37%, 80%)
CMYKcmyk(0%, 2%, 37.4%, 20.4%)
CIE-LABlab(79.09, -9.25, 36.56)
CIE-LCHlch(79.09, 37.71, 104.20°)
OKLaboklab(81.65% -0.0249 0.0896)
OKLCHoklch(81.65% 0.093 105.5)
XYZxyz(48.8835, 55.0768, 28.1304)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC77F #7F83CB
analogous
#CBA17F #CBC77F #A9CB7F
triadic
#CBC77F #7FCBC7 #C77FCB
tetradic
#CBC77F #7FCBA1 #7F83CB #CB7FA9
square
#CBC77F #7FCBA1 #7F83CB #CB7FA9
split-complementary
#CBC77F #7FA9CB #A17FCB
monochromatic
#948F3C #B9B453 #CBC77F #DDDAAB #EEEDD6

Accessibility & contrast

On white

1.75
#CBC77F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CBC77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC77F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC77F#FFFFFF#000000##000000
##CBC77F1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27A
Deuteranopia (green-blind)
#D5C582
Tritanopia (blue-blind)
#D5BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc77f;
/* rgb */ color: rgb(203, 199, 127);
/* oklch */ color: oklch(81.6% 0.093 105.5);
Tailwind
colors: {
  custom: {
    50: '#dcd7a5',
    500: '#cbc77f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc77f;
$custom-light: #dcd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc77f",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 127
  },
  "hsl": {
    "h": 56.842,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81646,
    "c": 0.09303,
    "h": 105.5
  },
  "luminance": 0.55076
}

Semantic roles & 50–950 ramp

primary
#CBC77F
secondary
#54589A
accent
#37B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC77F

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

Preview Lab → · Contrast checker → · Palette generator →

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