#CBAF49#CBAF49

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

Color values

HEX#CBAF49
RGBrgb(203, 175, 73)
HSLhsl(47, 56%, 54%)
HSVhsv(47, 64%, 80%)
CMYKcmyk(0%, 13.8%, 64%, 20.4%)
CIE-LABlab(72.12, -1.54, 54.48)
CIE-LCHlch(72.12, 54.50, 91.62°)
OKLaboklab(75.92% -0.0083 0.1242)
OKLCHoklch(75.92% 0.125 93.8)
XYZxyz(41.1631, 43.8396, 12.5958)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF49 #4965CB
analogous
#CB6E49 #CBAF49 #A6CB49
triadic
#CBAF49 #49CBAF #AF49CB
tetradic
#CBAF49 #49CB6E #4965CB #CB49A6
square
#CBAF49 #49CB6E #4965CB #CB49A6
split-complementary
#CBAF49 #49A6CB #6E49CB
monochromatic
#776522 #A78D30 #CBAF49 #D9C479 #E6D9A8

Accessibility & contrast

On white

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

On black

9.77
#CBAF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF49
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF49#FFFFFF#000000##000000
##CBAF491.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbaf49;
/* rgb */ color: rgb(203, 175, 73);
/* oklch */ color: oklch(75.9% 0.124 93.8);
Tailwind
colors: {
  custom: {
    50: '#dec680',
    500: '#cbaf49',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf49;
$custom-light: #dec680;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf49",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 47.077,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7592,
    "c": 0.1245,
    "h": 93.8
  },
  "luminance": 0.43837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBAF49

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

Preview Lab → · Contrast checker → · Palette generator →

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