#CBAC3D#CBAC3D

#CBAC3D is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.2% C 0.131 H 93.1°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CBAC3D
RGBrgb(203, 172, 61)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 15.3%, 70%, 20.4%)
CIE-LABlab(71.24, -0.65, 58.68)
CIE-LCHlch(71.24, 58.69, 90.63°)
OKLaboklab(75.2% -0.0072 0.1312)
OKLCHoklch(75.2% 0.131 93.1)
XYZxyz(40.2255, 42.5407, 10.5064)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC3D #3D5CCB
analogous
#CB653D #CBAC3D #A3CB3D
triadic
#CBAC3D #3DCBAC #AC3DCB
tetradic
#CBAC3D #3DCB65 #3D5CCB #CB3DA3
square
#CBAC3D #3DCB65 #3D5CCB #CB3DA3
split-complementary
#CBAC3D #3DA3CB #653DCB
monochromatic
#705E1E #A0862B #CBAC3D #D8C16D #E5D59E

Accessibility & contrast

On white

2.21
#CBAC3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CBAC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC3D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC3D#FFFFFF#000000##000000
##CBAC3D1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92E
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbac3d;
/* rgb */ color: rgb(203, 172, 61);
/* oklch */ color: oklch(75.2% 0.131 93.1);
Tailwind
colors: {
  custom: {
    50: '#dfc479',
    500: '#cbac3d',
    950: '#000000',
  },
}
SCSS
$custom: #cbac3d;
$custom-light: #dfc479;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac3d",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 46.901,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75195,
    "c": 0.13136,
    "h": 93.1
  },
  "luminance": 0.42538
}

Semantic roles & 50–950 ramp

primary
#CBAC3D
secondary
#93A0D1
accent
#68E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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