#CBAF4D#CBAF4D

#CBAF4D is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.121 H 93.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CBAF4D
RGBrgb(203, 175, 77)
HSLhsl(47, 55%, 55%)
HSVhsv(47, 62%, 80%)
CMYKcmyk(0%, 13.8%, 62.1%, 20.4%)
CIE-LABlab(72.16, -1.28, 52.72)
CIE-LCHlch(72.16, 52.74, 91.39°)
OKLaboklab(75.96% -0.0071 0.1211)
OKLCHoklch(75.96% 0.121 93.3)
XYZxyz(41.3000, 43.8944, 13.3168)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF4D #4D69CB
analogous
#CB704D #CBAF4D #A8CB4D
triadic
#CBAF4D #4DCBAF #AF4DCB
tetradic
#CBAF4D #4DCB70 #4D69CB #CB4DA8
square
#CBAF4D #4DCB70 #4D69CB #CB4DA8
split-complementary
#CBAF4D #4DA8CB #704DCB
monochromatic
#7A6724 #A98F31 #CBAF4D #D9C47C #E7DAAC

Accessibility & contrast

On white

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

On black

9.78
#CBAF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF4D
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF4D#FFFFFF#000000##000000
##CBAF4D1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC42
Deuteranopia (green-blind)
#C7B451
Tritanopia (blue-blind)
#DAA29A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf4d;
/* rgb */ color: rgb(203, 175, 77);
/* oklch */ color: oklch(76.0% 0.121 93.3);
Tailwind
colors: {
  custom: {
    50: '#dec683',
    500: '#cbaf4d',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf4d;
$custom-light: #dec683;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf4d",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 46.667,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75961,
    "c": 0.12126,
    "h": 93.3
  },
  "luminance": 0.43892
}

Semantic roles & 50–950 ramp

primary
#CBAF4D
secondary
#9FABD4
accent
#6BDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBAF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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