#CBC38E#CBC38E

#CBC38E is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.1% C 0.071 H 100.5°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CBC38E
RGBrgb(203, 195, 142)
HSLhsl(52, 37%, 68%)
HSVhsv(52, 30%, 80%)
CMYKcmyk(0%, 3.9%, 30%, 20.4%)
CIE-LABlab(78.28, -5.37, 27.71)
CIE-LCHlch(78.28, 28.22, 100.96°)
OKLaboklab(81.08% -0.0129 0.0694)
OKLCHoklch(81.08% 0.071 100.5)
XYZxyz(49.0266, 53.6808, 33.3647)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC38E #8E96CB
analogous
#CBA48E #CBC38E #B5CB8E
triadic
#CBC38E #8ECBC3 #C38ECB
tetradic
#CBC38E #8ECBA4 #8E96CB #CB8EB5
square
#CBC38E #8ECBA4 #8E96CB #CB8EB5
split-complementary
#CBC38E #8EB5CB #A48ECB
monochromatic
#988E46 #B8AD64 #CBC38E #DED9B8 #F2F0E2

Accessibility & contrast

On white

1.79
#CBC38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CBC38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC38E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC38E#FFFFFF#000000##000000
##CBC38E1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC08A
Deuteranopia (green-blind)
#D0C390
Tritanopia (blue-blind)
#D4BCB5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc38e;
/* rgb */ color: rgb(203, 195, 142);
/* oklch */ color: oklch(81.1% 0.071 100.5);
Tailwind
colors: {
  custom: {
    50: '#dbd5af',
    500: '#cbc38e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc38e;
$custom-light: #dbd5af;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc38e",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 142
  },
  "hsl": {
    "h": 52.131,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.81084,
    "c": 0.07062,
    "h": 100.5
  },
  "luminance": 0.5368
}

Semantic roles & 50–950 ramp

primary
#CBC38E
secondary
#5E669F
accent
#46B036
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC38E

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

Preview Lab → · Contrast checker → · Palette generator →

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