#CBA83D#CBA83D

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

Color values

HEX#CBA83D
RGBrgb(203, 168, 61)
HSLhsl(45, 58%, 52%)
HSVhsv(45, 70%, 80%)
CMYKcmyk(0%, 17.2%, 70%, 20.4%)
CIE-LABlab(70.20, 1.48, 57.63)
CIE-LCHlch(70.20, 57.65, 88.53°)
OKLaboklab(74.38% -0.0011 0.1289)
OKLCHoklch(74.38% 0.129 90.5)
XYZxyz(39.4757, 41.0411, 10.2565)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA83D #3D60CB
analogous
#CB613D #CBA83D #A7CB3D
triadic
#CBA83D #3DCBA8 #A83DCB
tetradic
#CBA83D #3DCB61 #3D60CB #CB3DA7
square
#CBA83D #3DCB61 #3D60CB #CB3DA7
split-complementary
#CBA83D #3DA7CB #613DCB
monochromatic
#705C1E #A0832B #CBA83D #D8BE6D #E5D39E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBA83D#FFFFFF#000000##000000
##CBA83D1.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)
#BAA62F
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#DB9A92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cba83d;
/* rgb */ color: rgb(203, 168, 61);
/* oklch */ color: oklch(74.4% 0.129 90.5);
Tailwind
colors: {
  custom: {
    50: '#dfc178',
    500: '#cba83d',
    950: '#000000',
  },
}
SCSS
$custom: #cba83d;
$custom-light: #dfc178;
$custom-dark: #000000;
JSON
{
  "hex": "#cba83d",
  "rgb": {
    "r": 203,
    "g": 168,
    "b": 61
  },
  "hsl": {
    "h": 45.211,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74376,
    "c": 0.12893,
    "h": 90.5
  },
  "luminance": 0.41039
}

Semantic roles & 50–950 ramp

primary
#CBA83D
secondary
#93A2D1
accent
#6DE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA83D

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

Preview Lab → · Contrast checker → · Palette generator →

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