#CBAA40#CBAA40

#CBAA40 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.128 H 91.5°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CBAA40
RGBrgb(203, 170, 64)
HSLhsl(46, 57%, 52%)
HSVhsv(46, 68%, 80%)
CMYKcmyk(0%, 16.3%, 68.5%, 20.4%)
CIE-LABlab(70.75, 0.57, 56.93)
CIE-LCHlch(70.75, 56.93, 89.42°)
OKLaboklab(74.81% -0.0033 0.128)
OKLCHoklch(74.81% 0.128 91.5)
XYZxyz(39.9308, 41.8184, 10.8180)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAA40 #4061CB
analogous
#CB6440 #CBAA40 #A7CB40
triadic
#CBAA40 #40CBAA #AA40CB
tetradic
#CBAA40 #40CB64 #4061CB #CB40A7
square
#CBAA40 #40CB64 #4061CB #CB40A7
split-complementary
#CBAA40 #40A7CB #6440CB
monochromatic
#725E1F #A2862C #CBAA40 #D8BF70 #E5D5A0

Accessibility & contrast

On white

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

On black

9.36
#CBAA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAA40
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAA40#FFFFFF#000000##000000
##CBAA401.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA832
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#DB9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cbaa40;
/* rgb */ color: rgb(203, 170, 64);
/* oklch */ color: oklch(74.8% 0.128 91.5);
Tailwind
colors: {
  custom: {
    50: '#dfc37a',
    500: '#cbaa40',
    950: '#000000',
  },
}
SCSS
$custom: #cbaa40;
$custom-light: #dfc37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaa40",
  "rgb": {
    "r": 203,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 45.755,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7481,
    "c": 0.12801,
    "h": 91.5
  },
  "luminance": 0.41816
}

Semantic roles & 50–950 ramp

primary
#CBAA40
secondary
#95A4D2
accent
#6CE047
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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