#CBC25E#CBC25E

#CBC25E 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#CBC25E
RGBrgb(203, 194, 94)
HSLhsl(55, 51%, 58%)
HSVhsv(55, 54%, 80%)
CMYKcmyk(0%, 4.4%, 53.7%, 20.4%)
CIE-LABlab(77.33, -9.90, 50.71)
CIE-LCHlch(77.33, 51.66, 101.05°)
OKLaboklab(80.12% -0.0299 0.1188)
OKLCHoklch(80.12% 0.122 104.1)
XYZxyz(45.9421, 52.0897, 18.2218)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC25E #5E67CB
analogous
#CB8B5E #CBC25E #9DCB5E
triadic
#CBC25E #5ECBC2 #C25ECB
tetradic
#CBC25E #5ECB8B #5E67CB #CB5E9D
square
#CBC25E #5ECB8B #5E67CB #CB5E9D
split-complementary
#CBC25E #5E9DCB #8B5ECB
monochromatic
#847D2B #B2A83A #CBC25E #DAD48C #E9E5BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC25E#FFFFFF#000000##000000
##CBC25E1.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)
#D1BC54
Deuteranopia (green-blind)
#D4C163
Tritanopia (blue-blind)
#D8B7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc25e;
/* rgb */ color: rgb(203, 194, 94);
/* oklch */ color: oklch(80.1% 0.122 104.1);
Tailwind
colors: {
  custom: {
    50: '#ddd48e',
    500: '#cbc25e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc25e;
$custom-light: #ddd48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc25e",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 55.046,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80118,
    "c": 0.12246,
    "h": 104.1
  },
  "luminance": 0.52088
}

Semantic roles & 50–950 ramp

primary
#CBC25E
secondary
#42488B
accent
#59DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC25E

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

Preview Lab → · Contrast checker → · Palette generator →

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