#CBAD3C#CBAD3C

#CBAD3C is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.4% C 0.133 H 93.9°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#CBAD3C
RGBrgb(203, 173, 60)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 14.8%, 70.4%, 20.4%)
CIE-LABlab(71.50, -1.23, 59.34)
CIE-LCHlch(71.50, 59.36, 91.18°)
OKLaboklab(75.39% -0.0089 0.1324)
OKLCHoklch(75.39% 0.133 93.9)
XYZxyz(40.3899, 42.9121, 10.4295)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAD3C #3C5ACB
analogous
#CB663C #CBAD3C #A1CB3C
triadic
#CBAD3C #3CCBAD #AD3CCB
tetradic
#CBAD3C #3CCB66 #3C5ACB #CB3CA1
square
#CBAD3C #3CCB66 #3C5ACB #CB3CA1
split-complementary
#CBAD3C #3CA1CB #663CCB
monochromatic
#6F5E1E #9F872A #CBAD3C #D8C16C #E5D69D

Accessibility & contrast

On white

2.19
#CBAD3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#CBAD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAD3C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAD3C#FFFFFF#000000##000000
##CBAD3C1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2C
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbad3c;
/* rgb */ color: rgb(203, 173, 60);
/* oklch */ color: oklch(75.4% 0.133 93.9);
Tailwind
colors: {
  custom: {
    50: '#dfc578',
    500: '#cbad3c',
    950: '#000000',
  },
}
SCSS
$custom: #cbad3c;
$custom-light: #dfc578;
$custom-dark: #000000;
JSON
{
  "hex": "#cbad3c",
  "rgb": {
    "r": 203,
    "g": 173,
    "b": 60
  },
  "hsl": {
    "h": 47.413,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75392,
    "c": 0.13268,
    "h": 93.9
  },
  "luminance": 0.4291
}

Semantic roles & 50–950 ramp

primary
#CBAD3C
secondary
#929FD1
accent
#67E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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