#CBAA46#CBAA46

#CBAA46 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.9% C 0.124 H 90.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CBAA46
RGBrgb(203, 170, 70)
HSLhsl(45, 56%, 54%)
HSVhsv(45, 66%, 80%)
CMYKcmyk(0%, 16.3%, 65.5%, 20.4%)
CIE-LABlab(70.80, 0.92, 54.38)
CIE-LCHlch(70.80, 54.39, 89.03°)
OKLaboklab(74.87% -0.0016 0.1236)
OKLCHoklch(74.87% 0.124 90.7)
XYZxyz(40.1108, 41.8904, 11.7661)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAA46 #4667CB
analogous
#CB6746 #CBAA46 #A9CB46
triadic
#CBAA46 #46CBAA #AA46CB
tetradic
#CBAA46 #46CB67 #4667CB #CB46A9
square
#CBAA46 #46CB67 #4667CB #CB46A9
split-complementary
#CBAA46 #46A9CB #6746CB
monochromatic
#766121 #A5882E #CBAA46 #D8C076 #E6D6A6

Accessibility & contrast

On white

2.24
#CBAA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CBAA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAA46
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAA46#FFFFFF#000000##000000
##CBAA461.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83A
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#DB9D95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cbaa46;
/* rgb */ color: rgb(203, 170, 70);
/* oklch */ color: oklch(74.9% 0.124 90.7);
Tailwind
colors: {
  custom: {
    50: '#dec37e',
    500: '#cbaa46',
    950: '#000000',
  },
}
SCSS
$custom: #cbaa46;
$custom-light: #dec37e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaa46",
  "rgb": {
    "r": 203,
    "g": 170,
    "b": 70
  },
  "hsl": {
    "h": 45.113,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74865,
    "c": 0.12357,
    "h": 90.7
  },
  "luminance": 0.41888
}

Semantic roles & 50–950 ramp

primary
#CBAA46
secondary
#9AA8D3
accent
#6EDF48
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAA46

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

Preview Lab → · Contrast checker → · Palette generator →

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