#CBAD42#CBAD42

#CBAD42 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.4% C 0.128 H 93.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CBAD42
RGBrgb(203, 173, 66)
HSLhsl(47, 57%, 53%)
HSVhsv(47, 67%, 80%)
CMYKcmyk(0%, 14.8%, 67.5%, 20.4%)
CIE-LABlab(71.54, -0.90, 56.91)
CIE-LCHlch(71.54, 56.92, 90.91°)
OKLaboklab(75.44% -0.0073 0.1283)
OKLCHoklch(75.44% 0.128 93.3)
XYZxyz(40.5576, 42.9792, 11.3128)
Luminance0.4298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAD42 #4260CB
analogous
#CB6842 #CBAD42 #A5CB42
triadic
#CBAD42 #42CBAD #AD42CB
tetradic
#CBAD42 #42CB68 #4260CB #CB42A5
square
#CBAD42 #42CB68 #4260CB #CB42A5
split-complementary
#CBAD42 #42A5CB #6842CB
monochromatic
#736120 #A3892D #CBAD42 #D8C272 #E5D7A2

Accessibility & contrast

On white

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

On black

9.60
#CBAD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAD42
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAD42#FFFFFF#000000##000000
##CBAD421.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#DBA097
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbad42;
/* rgb */ color: rgb(203, 173, 66);
/* oklch */ color: oklch(75.4% 0.128 93.3);
Tailwind
colors: {
  custom: {
    50: '#dec57c',
    500: '#cbad42',
    950: '#000000',
  },
}
SCSS
$custom: #cbad42;
$custom-light: #dec57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbad42",
  "rgb": {
    "r": 203,
    "g": 173,
    "b": 66
  },
  "hsl": {
    "h": 46.861,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75443,
    "c": 0.12848,
    "h": 93.3
  },
  "luminance": 0.42977
}

Semantic roles & 50–950 ramp

primary
#CBAD42
secondary
#97A4D2
accent
#69E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAD42

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

Preview Lab → · Contrast checker → · Palette generator →

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