#CBAE42#CBAE42

#CBAE42 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.129 H 93.9°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#CBAE42
RGBrgb(203, 174, 66)
HSLhsl(47, 57%, 53%)
HSVhsv(47, 67%, 80%)
CMYKcmyk(0%, 14.3%, 67.5%, 20.4%)
CIE-LABlab(71.80, -1.43, 57.18)
CIE-LCHlch(71.80, 57.20, 91.44°)
OKLaboklab(75.65% -0.0088 0.1288)
OKLCHoklch(75.65% 0.129 93.9)
XYZxyz(40.7500, 43.3642, 11.3769)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE42 #425FCB
analogous
#CB6942 #CBAE42 #A4CB42
triadic
#CBAE42 #42CBAE #AE42CB
tetradic
#CBAE42 #42CB69 #425FCB #CB42A4
square
#CBAE42 #42CB69 #425FCB #CB42A4
split-complementary
#CBAE42 #42A4CB #6942CB
monochromatic
#736120 #A38A2D #CBAE42 #D8C372 #E5D7A2

Accessibility & contrast

On white

2.17
#CBAE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#CBAE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE42
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE42#FFFFFF#000000##000000
##CBAE421.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#DBA198
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae42;
/* rgb */ color: rgb(203, 174, 66);
/* oklch */ color: oklch(75.6% 0.129 93.9);
Tailwind
colors: {
  custom: {
    50: '#dec57c',
    500: '#cbae42',
    950: '#000000',
  },
}
SCSS
$custom: #cbae42;
$custom-light: #dec57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae42",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 47.299,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75649,
    "c": 0.12914,
    "h": 93.9
  },
  "luminance": 0.43362
}

Semantic roles & 50–950 ramp

primary
#CBAE42
secondary
#97A3D2
accent
#68E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAE42

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

Preview Lab → · Contrast checker → · Palette generator →

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