#CBA83A#CBA83A

#CBA83A is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.4% C 0.131 H 90.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CBA83A
RGBrgb(203, 168, 58)
HSLhsl(46, 58%, 51%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 17.2%, 71.4%, 20.4%)
CIE-LABlab(70.18, 1.33, 58.83)
CIE-LCHlch(70.18, 58.85, 88.71°)
OKLaboklab(74.35% -0.0019 0.1309)
OKLCHoklch(74.35% 0.131 90.8)
XYZxyz(39.3971, 41.0096, 9.8427)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA83A #3A5DCB
analogous
#CB5F3A #CBA83A #A5CB3A
triadic
#CBA83A #3ACBA8 #A83ACB
tetradic
#CBA83A #3ACB5F #3A5DCB #CB3AA5
square
#CBA83A #3ACB5F #3A5DCB #CB3AA5
split-complementary
#CBA83A #3AA5CB #5F3ACB
monochromatic
#6E5A1D #9E822A #CBA83A #D8BD6A #E5D39B

Accessibility & contrast

On white

2.28
#CBA83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#CBA83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA83A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA83A#FFFFFF#000000##000000
##CBA83A1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#C3B040
Tritanopia (blue-blind)
#DC9A92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cba83a;
/* rgb */ color: rgb(203, 168, 58);
/* oklch */ color: oklch(74.4% 0.131 90.8);
Tailwind
colors: {
  custom: {
    50: '#dfc177',
    500: '#cba83a',
    950: '#000000',
  },
}
SCSS
$custom: #cba83a;
$custom-light: #dfc177;
$custom-dark: #000000;
JSON
{
  "hex": "#cba83a",
  "rgb": {
    "r": 203,
    "g": 168,
    "b": 58
  },
  "hsl": {
    "h": 45.517,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74352,
    "c": 0.13094,
    "h": 90.8
  },
  "luminance": 0.41007
}

Semantic roles & 50–950 ramp

primary
#CBA83A
secondary
#90A0D0
accent
#6CE146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA83A

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

Preview Lab → · Contrast checker → · Palette generator →

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