#CBAF41#CBAF41

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

Color values

HEX#CBAF41
RGBrgb(203, 175, 65)
HSLhsl(48, 57%, 53%)
HSVhsv(48, 68%, 80%)
CMYKcmyk(0%, 13.8%, 68%, 20.4%)
CIE-LABlab(72.05, -2.02, 57.87)
CIE-LCHlch(72.05, 57.90, 92.00°)
OKLaboklab(75.85% -0.0106 0.1301)
OKLCHoklch(75.85% 0.131 94.7)
XYZxyz(40.9147, 43.7403, 11.2876)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF41 #415DCB
analogous
#CB6A41 #CBAF41 #A2CB41
triadic
#CBAF41 #41CBAF #AF41CB
tetradic
#CBAF41 #41CB6A #415DCB #CB41A2
square
#CBAF41 #41CB6A #415DCB #CB41A2
split-complementary
#CBAF41 #41A2CB #6A41CB
monochromatic
#72611F #A28A2C #CBAF41 #D8C371 #E5D7A1

Accessibility & contrast

On white

2.15
#CBAF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#CBAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF41
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF41#FFFFFF#000000##000000
##CBAF411.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC33
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#DBA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf41;
/* rgb */ color: rgb(203, 175, 65);
/* oklch */ color: oklch(75.8% 0.131 94.7);
Tailwind
colors: {
  custom: {
    50: '#dec67b',
    500: '#cbaf41',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf41;
$custom-light: #dec67b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf41",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 47.826,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75846,
    "c": 0.13055,
    "h": 94.7
  },
  "luminance": 0.43738
}

Semantic roles & 50–950 ramp

primary
#CBAF41
secondary
#96A2D2
accent
#67E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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