#CBA93A#CBA93A

#CBA93A is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.6% C 0.132 H 91.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CBA93A
RGBrgb(203, 169, 58)
HSLhsl(46, 58%, 51%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 16.7%, 71.4%, 20.4%)
CIE-LABlab(70.44, 0.79, 59.09)
CIE-LCHlch(70.44, 59.10, 89.23°)
OKLaboklab(74.56% -0.0034 0.1315)
OKLCHoklch(74.56% 0.132 91.5)
XYZxyz(39.5824, 41.3803, 9.9045)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA93A #3A5CCB
analogous
#CB603A #CBA93A #A4CB3A
triadic
#CBA93A #3ACBA9 #A93ACB
tetradic
#CBA93A #3ACB60 #3A5CCB #CB3AA4
square
#CBA93A #3ACB60 #3A5CCB #CB3AA4
split-complementary
#CBA93A #3AA4CB #603ACB
monochromatic
#6E5B1D #9E832A #CBA93A #D8BE6A #E5D39B

Accessibility & contrast

On white

2.26
#CBA93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#CBA93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA93A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA93A#FFFFFF#000000##000000
##CBA93A1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72A
Deuteranopia (green-blind)
#C4B040
Tritanopia (blue-blind)
#DB9B93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cba93a;
/* rgb */ color: rgb(203, 169, 58);
/* oklch */ color: oklch(74.6% 0.132 91.5);
Tailwind
colors: {
  custom: {
    50: '#dfc277',
    500: '#cba93a',
    950: '#000000',
  },
}
SCSS
$custom: #cba93a;
$custom-light: #dfc277;
$custom-dark: #000000;
JSON
{
  "hex": "#cba93a",
  "rgb": {
    "r": 203,
    "g": 169,
    "b": 58
  },
  "hsl": {
    "h": 45.931,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74556,
    "c": 0.13152,
    "h": 91.5
  },
  "luminance": 0.41378
}

Semantic roles & 50–950 ramp

primary
#CBA93A
secondary
#909FD0
accent
#6BE146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA93A

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

Preview Lab → · Contrast checker → · Palette generator →

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