#CBAA3E#CBAA3E

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

Color values

HEX#CBAA3E
RGBrgb(203, 170, 62)
HSLhsl(46, 58%, 52%)
HSVhsv(46, 69%, 80%)
CMYKcmyk(0%, 16.3%, 69.5%, 20.4%)
CIE-LABlab(70.73, 0.47, 57.75)
CIE-LCHlch(70.73, 57.75, 89.54°)
OKLaboklab(74.79% -0.0039 0.1294)
OKLCHoklch(74.79% 0.129 91.7)
XYZxyz(39.8749, 41.7961, 10.5237)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAA3E #3E5FCB
analogous
#CB633E #CBAA3E #A6CB3E
triadic
#CBAA3E #3ECBAA #AA3ECB
tetradic
#CBAA3E #3ECB63 #3E5FCB #CB3EA6
square
#CBAA3E #3ECB63 #3E5FCB #CB3EA6
split-complementary
#CBAA3E #3EA6CB #633ECB
monochromatic
#705D1E #A1852B #CBAA3E #D8BF6E #E5D49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAA3E#FFFFFF#000000##000000
##CBAA3E1.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)
#BCA830
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#DB9C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cbaa3e;
/* rgb */ color: rgb(203, 170, 62);
/* oklch */ color: oklch(74.8% 0.129 91.7);
Tailwind
colors: {
  custom: {
    50: '#dfc279',
    500: '#cbaa3e',
    950: '#000000',
  },
}
SCSS
$custom: #cbaa3e;
$custom-light: #dfc279;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaa3e",
  "rgb": {
    "r": 203,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 45.957,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.12943,
    "h": 91.7
  },
  "luminance": 0.41794
}

Semantic roles & 50–950 ramp

primary
#CBAA3E
secondary
#94A2D1
accent
#6BE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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