#CBC677#CBC677

#CBC677 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.101 H 105.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CBC677
RGBrgb(203, 198, 119)
HSLhsl(56, 45%, 63%)
HSVhsv(56, 41%, 80%)
CMYKcmyk(0%, 2.5%, 41.4%, 20.4%)
CIE-LABlab(78.70, -9.61, 40.14)
CIE-LCHlch(78.70, 41.28, 103.47°)
OKLaboklab(81.31% -0.0266 0.0974)
OKLCHoklch(81.31% 0.101 105.3)
XYZxyz(48.1533, 54.4178, 25.4163)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC677 #777CCB
analogous
#CB9C77 #CBC677 #A6CB77
triadic
#CBC677 #77CBC6 #C677CB
tetradic
#CBC677 #77CB9C #777CCB #CB77A6
square
#CBC677 #77CB9C #777CCB #CB77A6
split-complementary
#CBC677 #77A6CB #9C77CB
monochromatic
#908B37 #BAB34B #CBC677 #DCD9A3 #EDEBD0

Accessibility & contrast

On white

1.77
#CBC677 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CBC677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC677
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC677#FFFFFF#000000##000000
##CBC6771.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C171
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#D6BDB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc677;
/* rgb */ color: rgb(203, 198, 119);
/* oklch */ color: oklch(81.3% 0.101 105.3);
Tailwind
colors: {
  custom: {
    50: '#dcd79f',
    500: '#cbc677',
    950: '#000000',
  },
}
SCSS
$custom: #cbc677;
$custom-light: #dcd79f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc677",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 119
  },
  "hsl": {
    "h": 56.429,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81307,
    "c": 0.10095,
    "h": 105.3
  },
  "luminance": 0.54417
}

Semantic roles & 50–950 ramp

primary
#CBC677
secondary
#4F5397
accent
#36B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC677

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

Preview Lab → · Contrast checker → · Palette generator →

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