#CBA93C#CBA93C

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

Color values

HEX#CBA93C
RGBrgb(203, 169, 60)
HSLhsl(46, 58%, 52%)
HSVhsv(46, 70%, 80%)
CMYKcmyk(0%, 16.7%, 70.4%, 20.4%)
CIE-LABlab(70.46, 0.89, 58.30)
CIE-LCHlch(70.46, 58.30, 89.12°)
OKLaboklab(74.57% -0.0029 0.1302)
OKLCHoklch(74.57% 0.13 91.3)
XYZxyz(39.6343, 41.4010, 10.1777)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA93C #3C5ECB
analogous
#CB623C #CBA93C #A6CB3C
triadic
#CBA93C #3CCBA9 #A93CCB
tetradic
#CBA93C #3CCB62 #3C5ECB #CB3CA6
square
#CBA93C #3CCB62 #3C5ECB #CB3CA6
split-complementary
#CBA93C #3CA6CB #623CCB
monochromatic
#6F5C1E #9F842A #CBA93C #D8BE6C #E5D49D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBA93C#FFFFFF#000000##000000
##CBA93C1.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)
#BBA72D
Deuteranopia (green-blind)
#C4B042
Tritanopia (blue-blind)
#DB9B93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cba93c;
/* rgb */ color: rgb(203, 169, 60);
/* oklch */ color: oklch(74.6% 0.130 91.3);
Tailwind
colors: {
  custom: {
    50: '#dfc278',
    500: '#cba93c',
    950: '#000000',
  },
}
SCSS
$custom: #cba93c;
$custom-light: #dfc278;
$custom-dark: #000000;
JSON
{
  "hex": "#cba93c",
  "rgb": {
    "r": 203,
    "g": 169,
    "b": 60
  },
  "hsl": {
    "h": 45.734,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74572,
    "c": 0.13019,
    "h": 91.3
  },
  "luminance": 0.41399
}

Semantic roles & 50–950 ramp

primary
#CBA93C
secondary
#92A1D1
accent
#6BE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA93C

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

Preview Lab → · Contrast checker → · Palette generator →

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