#CBAA3F#CBAA3F

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

Color values

HEX#CBAA3F
RGBrgb(203, 170, 63)
HSLhsl(46, 57%, 52%)
HSVhsv(46, 69%, 80%)
CMYKcmyk(0%, 16.3%, 69%, 20.4%)
CIE-LABlab(70.74, 0.52, 57.34)
CIE-LCHlch(70.74, 57.34, 89.48°)
OKLaboklab(74.8% -0.0036 0.1287)
OKLCHoklch(74.8% 0.129 91.6)
XYZxyz(39.9026, 41.8072, 10.6695)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAA3F #3F60CB
analogous
#CB643F #CBAA3F #A6CB3F
triadic
#CBAA3F #3FCBAA #AA3FCB
tetradic
#CBAA3F #3FCB64 #3F60CB #CB3FA6
square
#CBAA3F #3FCB64 #3F60CB #CB3FA6
split-complementary
#CBAA3F #3FA6CB #643FCB
monochromatic
#715E1F #A1852C #CBAA3F #D8BF6F #E5D59F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAA3F#FFFFFF#000000##000000
##CBAA3F1.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)
#BCA831
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#DB9C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cbaa3f;
/* rgb */ color: rgb(203, 170, 63);
/* oklch */ color: oklch(74.8% 0.129 91.6);
Tailwind
colors: {
  custom: {
    50: '#dfc27a',
    500: '#cbaa3f',
    950: '#000000',
  },
}
SCSS
$custom: #cbaa3f;
$custom-light: #dfc27a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaa3f",
  "rgb": {
    "r": 203,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 45.857,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74801,
    "c": 0.12872,
    "h": 91.6
  },
  "luminance": 0.41805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBAA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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