#CBC259#CBC259

#CBC259 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.127 H 104.4°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CBC259
RGBrgb(203, 194, 89)
HSLhsl(55, 52%, 57%)
HSVhsv(55, 56%, 80%)
CMYKcmyk(0%, 4.4%, 56.2%, 20.4%)
CIE-LABlab(77.28, -10.30, 52.97)
CIE-LCHlch(77.28, 53.97, 101.00°)
OKLaboklab(80.06% -0.0316 0.1231)
OKLCHoklch(80.06% 0.127 104.4)
XYZxyz(45.7250, 52.0029, 17.0782)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC259 #5962CB
analogous
#CB8959 #CBC259 #9BCB59
triadic
#CBC259 #59CBC2 #C259CB
tetradic
#CBC259 #59CB89 #5962CB #CB599B
square
#CBC259 #59CB89 #5962CB #CB599B
split-complementary
#CBC259 #599BCB #8959CB
monochromatic
#817A28 #B0A637 #CBC259 #DAD388 #E8E4B6

Accessibility & contrast

On white

1.84
#CBC259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CBC259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC259
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC259#FFFFFF#000000##000000
##CBC2591.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#D9B6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc259;
/* rgb */ color: rgb(203, 194, 89);
/* oklch */ color: oklch(80.1% 0.127 104.4);
Tailwind
colors: {
  custom: {
    50: '#ddd48b',
    500: '#cbc259',
    950: '#000000',
  },
}
SCSS
$custom: #cbc259;
$custom-light: #ddd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc259",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 55.263,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8006,
    "c": 0.12708,
    "h": 104.4
  },
  "luminance": 0.52001
}

Semantic roles & 50–950 ramp

primary
#CBC259
secondary
#3F4589
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC259

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

Preview Lab → · Contrast checker → · Palette generator →

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