#CBC25B#CBC25B

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

Color values

HEX#CBC25B
RGBrgb(203, 194, 91)
HSLhsl(55, 52%, 58%)
HSVhsv(55, 55%, 80%)
CMYKcmyk(0%, 4.4%, 55.2%, 20.4%)
CIE-LABlab(77.30, -10.15, 52.07)
CIE-LCHlch(77.30, 53.05, 101.02°)
OKLaboklab(80.08% -0.0309 0.1214)
OKLCHoklch(80.08% 0.125 104.3)
XYZxyz(45.8101, 52.0369, 17.5265)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC25B #5B64CB
analogous
#CB8A5B #CBC25B #9CCB5B
triadic
#CBC25B #5BCBC2 #C25BCB
tetradic
#CBC25B #5BCB8A #5B64CB #CB5B9C
square
#CBC25B #5BCB8A #5B64CB #CB5B9C
split-complementary
#CBC25B #5B9CCB #8A5BCB
monochromatic
#827B29 #B1A738 #CBC25B #DAD389 #E8E5B8

Accessibility & contrast

On white

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

On black

11.41
#CBC25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC25B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC25B#FFFFFF#000000##000000
##CBC25B1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC51
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#D8B7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc25b;
/* rgb */ color: rgb(203, 194, 91);
/* oklch */ color: oklch(80.1% 0.125 104.3);
Tailwind
colors: {
  custom: {
    50: '#ddd48d',
    500: '#cbc25b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc25b;
$custom-light: #ddd48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc25b",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 91
  },
  "hsl": {
    "h": 55.179,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80083,
    "c": 0.12526,
    "h": 104.3
  },
  "luminance": 0.52035
}

Semantic roles & 50–950 ramp

primary
#CBC25B
secondary
#40468A
accent
#58DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC25B

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

Preview Lab → · Contrast checker → · Palette generator →

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