#CBA83C#CBA83C

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

Color values

HEX#CBA83C
RGBrgb(203, 168, 60)
HSLhsl(45, 58%, 52%)
HSVhsv(45, 70%, 80%)
CMYKcmyk(0%, 17.2%, 70.4%, 20.4%)
CIE-LABlab(70.20, 1.43, 58.03)
CIE-LCHlch(70.20, 58.05, 88.59°)
OKLaboklab(74.37% -0.0013 0.1296)
OKLCHoklch(74.37% 0.13 90.6)
XYZxyz(39.4490, 41.0304, 10.1159)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA83C #3C5FCB
analogous
#CB613C #CBA83C #A7CB3C
triadic
#CBA83C #3CCBA8 #A83CCB
tetradic
#CBA83C #3CCB61 #3C5FCB #CB3CA7
square
#CBA83C #3CCB61 #3C5FCB #CB3CA7
split-complementary
#CBA83C #3CA7CB #613CCB
monochromatic
#6F5B1E #9F832A #CBA83C #D8BE6C #E5D39D

Accessibility & contrast

On white

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

On black

9.21
#CBA83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA83C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA83C#FFFFFF#000000##000000
##CBA83C1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62D
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#DB9A92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cba83c;
/* rgb */ color: rgb(203, 168, 60);
/* oklch */ color: oklch(74.4% 0.130 90.6);
Tailwind
colors: {
  custom: {
    50: '#dfc178',
    500: '#cba83c',
    950: '#000000',
  },
}
SCSS
$custom: #cba83c;
$custom-light: #dfc178;
$custom-dark: #000000;
JSON
{
  "hex": "#cba83c",
  "rgb": {
    "r": 203,
    "g": 168,
    "b": 60
  },
  "hsl": {
    "h": 45.315,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74368,
    "c": 0.12962,
    "h": 90.6
  },
  "luminance": 0.41028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBA83C

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

Preview Lab → · Contrast checker → · Palette generator →

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