#CBAA3D#CBAA3D

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

Color values

HEX#CBAA3D
RGBrgb(203, 170, 61)
HSLhsl(46, 58%, 52%)
HSVhsv(46, 70%, 80%)
CMYKcmyk(0%, 16.3%, 70%, 20.4%)
CIE-LABlab(70.72, 0.41, 58.16)
CIE-LCHlch(70.72, 58.16, 89.59°)
OKLaboklab(74.79% -0.0041 0.1301)
OKLCHoklch(74.79% 0.13 91.8)
XYZxyz(39.8477, 41.7852, 10.3805)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAA3D #3D5ECB
analogous
#CB633D #CBAA3D #A5CB3D
triadic
#CBAA3D #3DCBAA #AA3DCB
tetradic
#CBAA3D #3DCB63 #3D5ECB #CB3DA5
square
#CBAA3D #3DCB63 #3D5ECB #CB3DA5
split-complementary
#CBAA3D #3DA5CB #633DCB
monochromatic
#705D1E #A0852B #CBAA3D #D8BF6D #E5D49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cbaa3d;
/* rgb */ color: rgb(203, 170, 61);
/* oklch */ color: oklch(74.8% 0.130 91.8);
Tailwind
colors: {
  custom: {
    50: '#dfc279',
    500: '#cbaa3d',
    950: '#000000',
  },
}
SCSS
$custom: #cbaa3d;
$custom-light: #dfc279;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaa3d",
  "rgb": {
    "r": 203,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 46.056,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74785,
    "c": 0.13012,
    "h": 91.8
  },
  "luminance": 0.41783
}

Semantic roles & 50–950 ramp

primary
#CBAA3D
secondary
#93A1D1
accent
#6BE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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