#CBC18D#CBC18D

#CBC18D is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.070 H 98.5°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CBC18D
RGBrgb(203, 193, 141)
HSLhsl(50, 37%, 67%)
HSVhsv(50, 31%, 80%)
CMYKcmyk(0%, 4.9%, 30.5%, 20.4%)
CIE-LABlab(77.73, -4.46, 27.51)
CIE-LCHlch(77.73, 27.87, 99.20°)
OKLaboklab(80.65% -0.0103 0.0689)
OKLCHoklch(80.65% 0.07 98.5)
XYZxyz(48.5067, 52.7607, 32.8227)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC18D #8D97CB
analogous
#CBA28D #CBC18D #B6CB8D
triadic
#CBC18D #8DCBC1 #C18DCB
tetradic
#CBC18D #8DCBA2 #8D97CB #CB8DB6
square
#CBC18D #8DCBA2 #8D97CB #CB8DB6
split-complementary
#CBC18D #8DB6CB #A28DCB
monochromatic
#988B45 #B8AA63 #CBC18D #DED8B7 #F1EFE1

Accessibility & contrast

On white

1.82
#CBC18D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#CBC18D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC18D
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC18D#FFFFFF#000000##000000
##CBC18D1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBE8A
Deuteranopia (green-blind)
#CEC28F
Tritanopia (blue-blind)
#D4BAB3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc18d;
/* rgb */ color: rgb(203, 193, 141);
/* oklch */ color: oklch(80.7% 0.070 98.5);
Tailwind
colors: {
  custom: {
    50: '#dbd3ae',
    500: '#cbc18d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc18d;
$custom-light: #dbd3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc18d",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 141
  },
  "hsl": {
    "h": 50.323,
    "s": 37.349,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8065,
    "c": 0.0697,
    "h": 98.5
  },
  "luminance": 0.5276
}

Semantic roles & 50–950 ramp

primary
#CBC18D
secondary
#5D689F
accent
#49B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC18D

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

Preview Lab → · Contrast checker → · Palette generator →

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