#CBB23A#CBB23A

#CBB23A is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.137 H 97.1°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CBB23A
RGBrgb(203, 178, 58)
HSLhsl(50, 58%, 51%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 12.3%, 71.4%, 20.4%)
CIE-LABlab(72.79, -3.96, 61.42)
CIE-LCHlch(72.79, 61.55, 93.69°)
OKLaboklab(76.41% -0.017 0.1364)
OKLCHoklch(76.41% 0.137 97.1)
XYZxyz(41.3148, 44.8449, 10.4819)
Luminance0.4484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB23A #3A53CB
analogous
#CB693A #CBB23A #9BCB3A
triadic
#CBB23A #3ACBB2 #B23ACB
tetradic
#CBB23A #3ACB69 #3A53CB #CB3A9B
square
#CBB23A #3ACB69 #3A53CB #CB3A9B
split-complementary
#CBB23A #3A9BCB #693ACB
monochromatic
#6E601D #9E8A2A #CBB23A #D8C56A #E5D89B

Accessibility & contrast

On white

2.11
#CBB23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CBB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB23A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB23A#FFFFFF#000000##000000
##CBB23A1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE28
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#DBA59A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb23a;
/* rgb */ color: rgb(203, 178, 58);
/* oklch */ color: oklch(76.4% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#dfc878',
    500: '#cbb23a',
    950: '#000000',
  },
}
SCSS
$custom: #cbb23a;
$custom-light: #dfc878;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb23a",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 49.655,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76412,
    "c": 0.13747,
    "h": 97.1
  },
  "luminance": 0.44843
}

Semantic roles & 50–950 ramp

primary
#CBB23A
secondary
#909BD0
accent
#61E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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