#CBAE47#CBAE47

#CBAE47 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.7% C 0.125 H 93.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CBAE47
RGBrgb(203, 174, 71)
HSLhsl(47, 56%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 14.3%, 65%, 20.4%)
CIE-LABlab(71.84, -1.14, 55.07)
CIE-LCHlch(71.84, 55.08, 91.18°)
OKLaboklab(75.7% -0.0074 0.1252)
OKLCHoklch(75.7% 0.125 93.4)
XYZxyz(40.9039, 43.4257, 12.1875)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE47 #4764CB
analogous
#CB6C47 #CBAE47 #A6CB47
triadic
#CBAE47 #47CBAE #AE47CB
tetradic
#CBAE47 #47CB6C #4764CB #CB47A6
square
#CBAE47 #47CB6C #4764CB #CB47A6
split-complementary
#CBAE47 #47A6CB #6C47CB
monochromatic
#766421 #A68C2F #CBAE47 #D8C377 #E6D8A6

Accessibility & contrast

On white

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

On black

9.68
#CBAE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE47
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE47#FFFFFF#000000##000000
##CBAE471.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbae47;
/* rgb */ color: rgb(203, 174, 71);
/* oklch */ color: oklch(75.7% 0.125 93.4);
Tailwind
colors: {
  custom: {
    50: '#dec57f',
    500: '#cbae47',
    950: '#000000',
  },
}
SCSS
$custom: #cbae47;
$custom-light: #dec57f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae47",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 71
  },
  "hsl": {
    "h": 46.818,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75695,
    "c": 0.12538,
    "h": 93.4
  },
  "luminance": 0.43424
}

Semantic roles & 50–950 ramp

primary
#CBAE47
secondary
#9BA7D3
accent
#6ADF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAE47

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

Preview Lab → · Contrast checker → · Palette generator →

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