#CBA23F#CBA23F

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

Color values

HEX#CBA23F
RGBrgb(203, 162, 63)
HSLhsl(42, 57%, 52%)
HSVhsv(42, 69%, 80%)
CMYKcmyk(0%, 20.2%, 69%, 20.4%)
CIE-LABlab(68.68, 4.79, 55.21)
CIE-LCHlch(68.68, 55.42, 85.04°)
OKLaboklab(73.18% 0.0087 0.1242)
OKLCHoklch(73.18% 0.124 86)
XYZxyz(38.4483, 38.8986, 10.1847)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA23F #3F68CB
analogous
#CB5C3F #CBA23F #AECB3F
triadic
#CBA23F #3FCBA2 #A23FCB
tetradic
#CBA23F #3FCB5C #3F68CB #CB3FAE
square
#CBA23F #3FCB5C #3F68CB #CB3FAE
split-complementary
#CBA23F #3FAECB #5C3FCB
monochromatic
#71591F #A17F2C #CBA23F #D8B96F #E5D19F

Accessibility & contrast

On white

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

On black

8.78
#CBA23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA23F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA23F#FFFFFF#000000##000000
##CBA23F1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cba23f;
/* rgb */ color: rgb(203, 162, 63);
/* oklch */ color: oklch(73.2% 0.124 86.0);
Tailwind
colors: {
  custom: {
    50: '#dfbd79',
    500: '#cba23f',
    950: '#000000',
  },
}
SCSS
$custom: #cba23f;
$custom-light: #dfbd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cba23f",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 42.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73178,
    "c": 0.12446,
    "h": 86
  },
  "luminance": 0.38896
}

Semantic roles & 50–950 ramp

primary
#CBA23F
secondary
#94A6D1
accent
#74E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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