#CBC058#CBC058

#CBC058 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.6% C 0.126 H 103.3°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CBC058
RGBrgb(203, 192, 88)
HSLhsl(54, 53%, 57%)
HSVhsv(54, 57%, 80%)
CMYKcmyk(0%, 5.4%, 56.7%, 20.4%)
CIE-LABlab(76.74, -9.35, 52.82)
CIE-LCHlch(76.74, 53.64, 100.04°)
OKLaboklab(79.63% -0.029 0.1227)
OKLCHoklch(79.63% 0.126 103.3)
XYZxyz(45.2412, 51.1020, 16.7112)
Luminance0.5110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC058 #5863CB
analogous
#CB8758 #CBC058 #9DCB58
triadic
#CBC058 #58CBC0 #C058CB
tetradic
#CBC058 #58CB87 #5863CB #CB589D
square
#CBC058 #58CB87 #5863CB #CB589D
split-complementary
#CBC058 #589DCB #8758CB
monochromatic
#817828 #AFA437 #CBC058 #DAD287 #E8E3B5

Accessibility & contrast

On white

1.87
#CBC058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#CBC058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC058
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC058#FFFFFF#000000##000000
##CBC0581.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4D
Deuteranopia (green-blind)
#D3C05D
Tritanopia (blue-blind)
#D9B4A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc058;
/* rgb */ color: rgb(203, 192, 88);
/* oklch */ color: oklch(79.6% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#ddd28b',
    500: '#cbc058',
    950: '#000000',
  },
}
SCSS
$custom: #cbc058;
$custom-light: #ddd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc058",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 88
  },
  "hsl": {
    "h": 54.261,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79627,
    "c": 0.12602,
    "h": 103.3
  },
  "luminance": 0.511
}

Semantic roles & 50–950 ramp

primary
#CBC058
secondary
#3F4688
accent
#5ADC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC058

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

Preview Lab → · Contrast checker → · Palette generator →

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