#CBC25F#CBC25F

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

Color values

HEX#CBC25F
RGBrgb(203, 194, 95)
HSLhsl(55, 51%, 58%)
HSVhsv(55, 53%, 80%)
CMYKcmyk(0%, 4.4%, 53.2%, 20.4%)
CIE-LABlab(77.35, -9.82, 50.25)
CIE-LCHlch(77.35, 51.20, 101.06°)
OKLaboklab(80.13% -0.0295 0.1179)
OKLCHoklch(80.13% 0.122 104.1)
XYZxyz(45.9873, 52.1078, 18.4596)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC25F #5F68CB
analogous
#CB8C5F #CBC25F #9ECB5F
triadic
#CBC25F #5FCBC2 #C25FCB
tetradic
#CBC25F #5FCB8C #5F68CB #CB5F9E
square
#CBC25F #5FCB8C #5F68CB #CB5F9E
split-complementary
#CBC25F #5F9ECB #8C5FCB
monochromatic
#857D2B #B3A93A #CBC25F #DAD48D #E9E5BB

Accessibility & contrast

On white

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

On black

11.42
#CBC25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC25F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC25F#FFFFFF#000000##000000
##CBC25F1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC56
Deuteranopia (green-blind)
#D4C164
Tritanopia (blue-blind)
#D8B7AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc25f;
/* rgb */ color: rgb(203, 194, 95);
/* oklch */ color: oklch(80.1% 0.122 104.1);
Tailwind
colors: {
  custom: {
    50: '#ddd48f',
    500: '#cbc25f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc25f;
$custom-light: #ddd48f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc25f",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 95
  },
  "hsl": {
    "h": 55,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8013,
    "c": 0.12152,
    "h": 104.1
  },
  "luminance": 0.52106
}

Semantic roles & 50–950 ramp

primary
#CBC25F
secondary
#42488C
accent
#59DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC25F

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

Preview Lab → · Contrast checker → · Palette generator →

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