#CBB23F#CBB23F

#CBB23F is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.134 H 96.7°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CBB23F
RGBrgb(203, 178, 63)
HSLhsl(49, 57%, 52%)
HSVhsv(49, 69%, 80%)
CMYKcmyk(0%, 12.3%, 69%, 20.4%)
CIE-LABlab(72.82, -3.70, 59.48)
CIE-LCHlch(72.82, 59.59, 93.56°)
OKLaboklab(76.45% -0.0157 0.1332)
OKLCHoklch(76.45% 0.134 96.7)
XYZxyz(41.4482, 44.8983, 11.1847)
Luminance0.4490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB23F #3F58CB
analogous
#CB6C3F #CBB23F #9ECB3F
triadic
#CBB23F #3FCBB2 #B23FCB
tetradic
#CBB23F #3FCB6C #3F58CB #CB3F9E
square
#CBB23F #3FCB6C #3F58CB #CB3F9E
split-complementary
#CBB23F #3F9ECB #6C3FCB
monochromatic
#71621F #A18C2C #CBB23F #D8C56F #E5D99F

Accessibility & contrast

On white

2.10
#CBB23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CBB23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB23F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB23F#FFFFFF#000000##000000
##CBB23F1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2F
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#DBA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb23f;
/* rgb */ color: rgb(203, 178, 63);
/* oklch */ color: oklch(76.5% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#dec87a',
    500: '#cbb23f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb23f;
$custom-light: #dec87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb23f",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 49.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76451,
    "c": 0.13412,
    "h": 96.7
  },
  "luminance": 0.44896
}

Semantic roles & 50–950 ramp

primary
#CBB23F
secondary
#949FD1
accent
#63E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB23F

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

Preview Lab → · Contrast checker → · Palette generator →

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