#CBAD39#CBAD39

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

Color values

HEX#CBAD39
RGBrgb(203, 173, 57)
HSLhsl(48, 58%, 51%)
HSVhsv(48, 72%, 80%)
CMYKcmyk(0%, 14.8%, 71.9%, 20.4%)
CIE-LABlab(71.47, -1.38, 60.51)
CIE-LCHlch(71.47, 60.53, 91.30°)
OKLaboklab(75.37% -0.0097 0.1343)
OKLCHoklch(75.37% 0.135 94.1)
XYZxyz(40.3128, 42.8813, 10.0237)
Luminance0.4288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAD39 #3957CB
analogous
#CB6439 #CBAD39 #A0CB39
triadic
#CBAD39 #39CBAD #AD39CB
tetradic
#CBAD39 #39CB64 #3957CB #CB39A0
square
#CBAD39 #39CB64 #3957CB #CB39A0
split-complementary
#CBAD39 #39A0CB #6439CB
monochromatic
#6D5C1D #9D8629 #CBAD39 #D8C169 #E4D59A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAD39#FFFFFF#000000##000000
##CBAD391.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)
#BFAA27
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbad39;
/* rgb */ color: rgb(203, 173, 57);
/* oklch */ color: oklch(75.4% 0.135 94.1);
Tailwind
colors: {
  custom: {
    50: '#dfc577',
    500: '#cbad39',
    950: '#000000',
  },
}
SCSS
$custom: #cbad39;
$custom-light: #dfc577;
$custom-dark: #000000;
JSON
{
  "hex": "#cbad39",
  "rgb": {
    "r": 203,
    "g": 173,
    "b": 57
  },
  "hsl": {
    "h": 47.671,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75369,
    "c": 0.13465,
    "h": 94.1
  },
  "luminance": 0.42879
}

Semantic roles & 50–950 ramp

primary
#CBAD39
secondary
#909DD0
accent
#66E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAD39

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

Preview Lab → · Contrast checker → · Palette generator →

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