#CBAF48#CBAF48

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

Color values

HEX#CBAF48
RGBrgb(203, 175, 72)
HSLhsl(47, 56%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 13.8%, 64.5%, 20.4%)
CIE-LABlab(72.11, -1.60, 54.92)
CIE-LCHlch(72.11, 54.94, 91.67°)
OKLaboklab(75.91% -0.0086 0.125)
OKLCHoklch(75.91% 0.125 93.9)
XYZxyz(41.1302, 43.8265, 12.4226)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF48 #4864CB
analogous
#CB6E48 #CBAF48 #A6CB48
triadic
#CBAF48 #48CBAF #AF48CB
tetradic
#CBAF48 #48CB6E #4864CB #CB48A6
square
#CBAF48 #48CB6E #4864CB #CB48A6
split-complementary
#CBAF48 #48A6CB #6E48CB
monochromatic
#776522 #A68D2F #CBAF48 #D9C478 #E6D9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAF48#FFFFFF#000000##000000
##CBAF481.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)
#C0AC3C
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf48;
/* rgb */ color: rgb(203, 175, 72);
/* oklch */ color: oklch(75.9% 0.125 93.9);
Tailwind
colors: {
  custom: {
    50: '#dec67f',
    500: '#cbaf48',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf48;
$custom-light: #dec67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf48",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 47.176,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75911,
    "c": 0.12529,
    "h": 93.9
  },
  "luminance": 0.43824
}

Semantic roles & 50–950 ramp

primary
#CBAF48
secondary
#9BA7D3
accent
#69DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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