#CBC58D#CBC58D

#CBC58D is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.074 H 102.7°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CBC58D
RGBrgb(203, 197, 141)
HSLhsl(54, 37%, 67%)
HSVhsv(54, 31%, 80%)
CMYKcmyk(0%, 3%, 30.5%, 20.4%)
CIE-LABlab(78.78, -6.53, 28.91)
CIE-LCHlch(78.78, 29.64, 102.73°)
OKLaboklab(81.48% -0.0163 0.0723)
OKLCHoklch(81.48% 0.074 102.7)
XYZxyz(49.4029, 54.5531, 33.1215)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC58D #8D93CB
analogous
#CBA68D #CBC58D #B2CB8D
triadic
#CBC58D #8DCBC5 #C58DCB
tetradic
#CBC58D #8DCBA6 #8D93CB #CB8DB2
square
#CBC58D #8DCBA6 #8D93CB #CB8DB2
split-complementary
#CBC58D #8DB2CB #A68DCB
monochromatic
#989045 #B8B063 #CBC58D #DEDAB7 #F1F0E1

Accessibility & contrast

On white

1.76
#CBC58D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CBC58D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC58D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC58D#FFFFFF#000000##000000
##CBC58D1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC189
Deuteranopia (green-blind)
#D1C58F
Tritanopia (blue-blind)
#D4BEB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc58d;
/* rgb */ color: rgb(203, 197, 141);
/* oklch */ color: oklch(81.5% 0.074 102.7);
Tailwind
colors: {
  custom: {
    50: '#dbd6ae',
    500: '#cbc58d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc58d;
$custom-light: #dbd6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc58d",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 141
  },
  "hsl": {
    "h": 54.194,
    "s": 37.349,
    "l": 67.451
  },
  "oklch": {
    "l": 0.81481,
    "c": 0.07409,
    "h": 102.7
  },
  "luminance": 0.54552
}

Semantic roles & 50–950 ramp

primary
#CBC58D
secondary
#5D649F
accent
#41B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC58D

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

Preview Lab → · Contrast checker → · Palette generator →

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