#CBA73A#CBA73A

#CBA73A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.1% C 0.130 H 90.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#CBA73A
RGBrgb(203, 167, 58)
HSLhsl(45, 58%, 51%)
HSVhsv(45, 71%, 80%)
CMYKcmyk(0%, 17.7%, 71.4%, 20.4%)
CIE-LABlab(69.92, 1.86, 58.57)
CIE-LCHlch(69.92, 58.60, 88.18°)
OKLaboklab(74.15% -0.0003 0.1304)
OKLCHoklch(74.15% 0.13 90.1)
XYZxyz(39.2132, 40.6418, 9.7814)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA73A #3A5ECB
analogous
#CB5E3A #CBA73A #A7CB3A
triadic
#CBA73A #3ACBA7 #A73ACB
tetradic
#CBA73A #3ACB5E #3A5ECB #CB3AA7
square
#CBA73A #3ACB5E #3A5ECB #CB3AA7
split-complementary
#CBA73A #3AA7CB #5E3ACB
monochromatic
#6E5A1D #9E812A #CBA73A #D8BD6A #E5D29B

Accessibility & contrast

On white

2.30
#CBA73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#CBA73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA73A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA73A#FFFFFF#000000##000000
##CBA73A1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52A
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#DC9991
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cba73a;
/* rgb */ color: rgb(203, 167, 58);
/* oklch */ color: oklch(74.1% 0.130 90.1);
Tailwind
colors: {
  custom: {
    50: '#dfc077',
    500: '#cba73a',
    950: '#000000',
  },
}
SCSS
$custom: #cba73a;
$custom-light: #dfc077;
$custom-dark: #000000;
JSON
{
  "hex": "#cba73a",
  "rgb": {
    "r": 203,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 45.103,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74148,
    "c": 0.13038,
    "h": 90.1
  },
  "luminance": 0.40639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBA73A

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

Preview Lab → · Contrast checker → · Palette generator →

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