#CBA23D#CBA23D

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

Color values

HEX#CBA23D
RGBrgb(203, 162, 61)
HSLhsl(43, 58%, 52%)
HSVhsv(43, 70%, 80%)
CMYKcmyk(0%, 20.2%, 70%, 20.4%)
CIE-LABlab(68.66, 4.69, 56.05)
CIE-LCHlch(68.66, 56.24, 85.22°)
OKLaboklab(73.16% 0.0082 0.1256)
OKLCHoklch(73.16% 0.126 86.3)
XYZxyz(38.3935, 38.8766, 9.8957)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA23D #3D66CB
analogous
#CB5B3D #CBA23D #ADCB3D
triadic
#CBA23D #3DCBA2 #A23DCB
tetradic
#CBA23D #3DCB5B #3D66CB #CB3DAD
square
#CBA23D #3DCB5B #3D66CB #CB3DAD
split-complementary
#CBA23D #3DADCB #5B3DCB
monochromatic
#70581E #A07E2B #CBA23D #D8B96D #E5D09E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBA23D#FFFFFF#000000##000000
##CBA23D1.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)
#B5A130
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#DC948D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cba23d;
/* rgb */ color: rgb(203, 162, 61);
/* oklch */ color: oklch(73.2% 0.126 86.3);
Tailwind
colors: {
  custom: {
    50: '#dfbd78',
    500: '#cba23d',
    950: '#000000',
  },
}
SCSS
$custom: #cba23d;
$custom-light: #dfbd78;
$custom-dark: #000000;
JSON
{
  "hex": "#cba23d",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 42.676,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73161,
    "c": 0.12585,
    "h": 86.3
  },
  "luminance": 0.38874
}

Semantic roles & 50–950 ramp

primary
#CBA23D
secondary
#93A5D1
accent
#73E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA23D

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

Preview Lab → · Contrast checker → · Palette generator →

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