#CBC25C#CBC25C

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

Color values

HEX#CBC25C
RGBrgb(203, 194, 92)
HSLhsl(55, 52%, 58%)
HSVhsv(55, 55%, 80%)
CMYKcmyk(0%, 4.4%, 54.7%, 20.4%)
CIE-LABlab(77.31, -10.07, 51.62)
CIE-LCHlch(77.31, 52.59, 101.03°)
OKLaboklab(80.1% -0.0306 0.1205)
OKLCHoklch(80.1% 0.124 104.2)
XYZxyz(45.8536, 52.0543, 17.7552)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC25C #5C65CB
analogous
#CB8A5C #CBC25C #9CCB5C
triadic
#CBC25C #5CCBC2 #C25CCB
tetradic
#CBC25C #5CCB8A #5C65CB #CB5C9C
square
#CBC25C #5CCB8A #5C65CB #CB5C9C
split-complementary
#CBC25C #5C9CCB #8A5CCB
monochromatic
#837C2A #B1A739 #CBC25C #DAD38A #E9E5B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC25C#FFFFFF#000000##000000
##CBC25C1.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)
#D1BC52
Deuteranopia (green-blind)
#D4C161
Tritanopia (blue-blind)
#D8B7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc25c;
/* rgb */ color: rgb(203, 194, 92);
/* oklch */ color: oklch(80.1% 0.124 104.2);
Tailwind
colors: {
  custom: {
    50: '#ddd48d',
    500: '#cbc25c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc25c;
$custom-light: #ddd48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc25c",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 92
  },
  "hsl": {
    "h": 55.135,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80095,
    "c": 0.12434,
    "h": 104.2
  },
  "luminance": 0.52053
}

Semantic roles & 50–950 ramp

primary
#CBC25C
secondary
#41478A
accent
#58DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC25C

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

Preview Lab → · Contrast checker → · Palette generator →

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