#CBAF47#CBAF47

#CBAF47 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.126 H 94.1°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#CBAF47
RGBrgb(203, 175, 71)
HSLhsl(47, 56%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 13.8%, 65%, 20.4%)
CIE-LABlab(72.10, -1.67, 55.35)
CIE-LCHlch(72.10, 55.37, 91.72°)
OKLaboklab(75.9% -0.0089 0.1258)
OKLCHoklch(75.9% 0.126 94.1)
XYZxyz(41.0979, 43.8135, 12.2521)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF47 #4763CB
analogous
#CB6D47 #CBAF47 #A5CB47
triadic
#CBAF47 #47CBAF #AF47CB
tetradic
#CBAF47 #47CB6D #4763CB #CB47A5
square
#CBAF47 #47CB6D #4763CB #CB47A5
split-complementary
#CBAF47 #47A5CB #6D47CB
monochromatic
#766421 #A68D2F #CBAF47 #D8C477 #E6D8A6

Accessibility & contrast

On white

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

On black

9.76
#CBAF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF47
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF47#FFFFFF#000000##000000
##CBAF471.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3B
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf47;
/* rgb */ color: rgb(203, 175, 71);
/* oklch */ color: oklch(75.9% 0.126 94.1);
Tailwind
colors: {
  custom: {
    50: '#dec67f',
    500: '#cbaf47',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf47;
$custom-light: #dec67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf47",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 47.273,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75901,
    "c": 0.12608,
    "h": 94.1
  },
  "luminance": 0.43811
}

Semantic roles & 50–950 ramp

primary
#CBAF47
secondary
#9BA7D3
accent
#69DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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