#CBA23B#CBA23B

#CBA23B is a light, vivid orange. Relative luminance 0.389; OKLCH L 73.1% C 0.127 H 86.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CBA23B
RGBrgb(203, 162, 59)
HSLhsl(43, 58%, 51%)
HSVhsv(43, 71%, 80%)
CMYKcmyk(0%, 20.2%, 70.9%, 20.4%)
CIE-LABlab(68.65, 4.58, 56.87)
CIE-LCHlch(68.65, 57.06, 85.39°)
OKLaboklab(73.14% 0.0076 0.127)
OKLCHoklch(73.14% 0.127 86.6)
XYZxyz(38.3406, 38.8555, 9.6173)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA23B #3B64CB
analogous
#CB5A3B #CBA23B #ACCB3B
triadic
#CBA23B #3BCBA2 #A23BCB
tetradic
#CBA23B #3BCB5A #3B64CB #CB3BAC
square
#CBA23B #3BCB5A #3B64CB #CB3BAC
split-complementary
#CBA23B #3BACCB #5A3BCB
monochromatic
#6E571D #9F7E2A #CBA23B #D8B96B #E5D09C

Accessibility & contrast

On white

2.39
#CBA23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CBA23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA23B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA23B#FFFFFF#000000##000000
##CBA23B1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12D
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#DC948D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cba23b;
/* rgb */ color: rgb(203, 162, 59);
/* oklch */ color: oklch(73.1% 0.127 86.6);
Tailwind
colors: {
  custom: {
    50: '#dfbd77',
    500: '#cba23b',
    950: '#000000',
  },
}
SCSS
$custom: #cba23b;
$custom-light: #dfbd77;
$custom-dark: #000000;
JSON
{
  "hex": "#cba23b",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 42.917,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73144,
    "c": 0.12719,
    "h": 86.6
  },
  "luminance": 0.38853
}

Semantic roles & 50–950 ramp

primary
#CBA23B
secondary
#91A3D1
accent
#73E147
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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