#CBC25A#CBC25A

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

Color values

HEX#CBC25A
RGBrgb(203, 194, 90)
HSLhsl(55, 52%, 57%)
HSVhsv(55, 56%, 80%)
CMYKcmyk(0%, 4.4%, 55.7%, 20.4%)
CIE-LABlab(77.29, -10.22, 52.52)
CIE-LCHlch(77.29, 53.51, 101.01°)
OKLaboklab(80.07% -0.0312 0.1223)
OKLCHoklch(80.07% 0.126 104.3)
XYZxyz(45.7673, 52.0198, 17.3009)
Luminance0.5202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC25A #5A63CB
analogous
#CB895A #CBC25A #9CCB5A
triadic
#CBC25A #5ACBC2 #C25ACB
tetradic
#CBC25A #5ACB89 #5A63CB #CB5A9C
square
#CBC25A #5ACB89 #5A63CB #CB5A9C
split-complementary
#CBC25A #5A9CCB #895ACB
monochromatic
#827B29 #B0A738 #CBC25A #DAD389 #E8E4B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC25A#FFFFFF#000000##000000
##CBC25A1.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)
#D1BC50
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#D8B6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc25a;
/* rgb */ color: rgb(203, 194, 90);
/* oklch */ color: oklch(80.1% 0.126 104.3);
Tailwind
colors: {
  custom: {
    50: '#ddd48c',
    500: '#cbc25a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc25a;
$custom-light: #ddd48c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc25a",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 90
  },
  "hsl": {
    "h": 55.221,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80072,
    "c": 0.12618,
    "h": 104.3
  },
  "luminance": 0.52018
}

Semantic roles & 50–950 ramp

primary
#CBC25A
secondary
#404689
accent
#58DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC25A

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

Preview Lab → · Contrast checker → · Palette generator →

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