#CBC258#CBC258

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

Color values

HEX#CBC258
RGBrgb(203, 194, 88)
HSLhsl(55, 53%, 57%)
HSVhsv(55, 57%, 80%)
CMYKcmyk(0%, 4.4%, 56.7%, 20.4%)
CIE-LABlab(77.27, -10.38, 53.42)
CIE-LCHlch(77.27, 54.42, 100.99°)
OKLaboklab(80.05% -0.0319 0.1239)
OKLCHoklch(80.05% 0.128 104.4)
XYZxyz(45.6833, 51.9862, 16.8586)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC258 #5861CB
analogous
#CB8858 #CBC258 #9BCB58
triadic
#CBC258 #58CBC2 #C258CB
tetradic
#CBC258 #58CB88 #5861CB #CB589B
square
#CBC258 #58CB88 #5861CB #CB589B
split-complementary
#CBC258 #589BCB #8858CB
monochromatic
#817A28 #AFA637 #CBC258 #DAD387 #E8E4B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC258#FFFFFF#000000##000000
##CBC2581.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)
#D1BC4D
Deuteranopia (green-blind)
#D4C15D
Tritanopia (blue-blind)
#D9B6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc258;
/* rgb */ color: rgb(203, 194, 88);
/* oklch */ color: oklch(80.0% 0.128 104.4);
Tailwind
colors: {
  custom: {
    50: '#ddd48b',
    500: '#cbc258',
    950: '#000000',
  },
}
SCSS
$custom: #cbc258;
$custom-light: #ddd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc258",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 55.304,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80049,
    "c": 0.12798,
    "h": 104.4
  },
  "luminance": 0.51985
}

Semantic roles & 50–950 ramp

primary
#CBC258
secondary
#3F4588
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC258

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

Preview Lab → · Contrast checker → · Palette generator →

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