#CBAF3A#CBAF3A

#CBAF3A is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.135 H 95.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CBAF3A
RGBrgb(203, 175, 58)
HSLhsl(48, 58%, 51%)
HSVhsv(48, 71%, 80%)
CMYKcmyk(0%, 13.8%, 71.4%, 20.4%)
CIE-LABlab(72.00, -2.38, 60.65)
CIE-LCHlch(72.00, 60.69, 92.25°)
OKLaboklab(75.79% -0.0125 0.1348)
OKLCHoklch(75.79% 0.135 95.3)
XYZxyz(40.7244, 43.6641, 10.2851)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF3A #3A56CB
analogous
#CB663A #CBAF3A #9ECB3A
triadic
#CBAF3A #3ACBAF #AF3ACB
tetradic
#CBAF3A #3ACB66 #3A56CB #CB3A9E
square
#CBAF3A #3ACB66 #3A56CB #CB3A9E
split-complementary
#CBAF3A #3A9ECB #663ACB
monochromatic
#6E5E1D #9E882A #CBAF3A #D8C36A #E5D69B

Accessibility & contrast

On white

2.16
#CBAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#CBAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF3A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF3A#FFFFFF#000000##000000
##CBAF3A1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB28
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#DBA198
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbaf3a;
/* rgb */ color: rgb(203, 175, 58);
/* oklch */ color: oklch(75.8% 0.135 95.3);
Tailwind
colors: {
  custom: {
    50: '#dfc677',
    500: '#cbaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf3a;
$custom-light: #dfc677;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf3a",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 48.414,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7579,
    "c": 0.13535,
    "h": 95.3
  },
  "luminance": 0.43662
}

Semantic roles & 50–950 ramp

primary
#CBAF3A
secondary
#909DD0
accent
#64E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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