#CBAF4A#CBAF4A

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

Color values

HEX#CBAF4A
RGBrgb(203, 175, 74)
HSLhsl(47, 55%, 54%)
HSVhsv(47, 64%, 80%)
CMYKcmyk(0%, 13.8%, 63.5%, 20.4%)
CIE-LABlab(72.13, -1.48, 54.05)
CIE-LCHlch(72.13, 54.07, 91.57°)
OKLaboklab(75.93% -0.008 0.1234)
OKLCHoklch(75.93% 0.124 93.7)
XYZxyz(41.1965, 43.8530, 12.7718)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF4A #4A66CB
analogous
#CB6F4A #CBAF4A #A7CB4A
triadic
#CBAF4A #4ACBAF #AF4ACB
tetradic
#CBAF4A #4ACB6F #4A66CB #CB4AA7
square
#CBAF4A #4ACB6F #4A66CB #CB4AA7
split-complementary
#CBAF4A #4AA7CB #6F4ACB
monochromatic
#786623 #A88E30 #CBAF4A #D9C47A #E6D9A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAF4A#FFFFFF#000000##000000
##CBAF4A1.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)
#C0AC3F
Deuteranopia (green-blind)
#C7B44F
Tritanopia (blue-blind)
#DAA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf4a;
/* rgb */ color: rgb(203, 175, 74);
/* oklch */ color: oklch(75.9% 0.124 93.7);
Tailwind
colors: {
  custom: {
    50: '#dec681',
    500: '#cbaf4a',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf4a;
$custom-light: #dec681;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf4a",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 46.977,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7593,
    "c": 0.1237,
    "h": 93.7
  },
  "luminance": 0.43851
}

Semantic roles & 50–950 ramp

primary
#CBAF4A
secondary
#9DA9D4
accent
#6ADF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBAF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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