#CBAF50#CBAF50

#CBAF50 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.119 H 93.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CBAF50
RGBrgb(203, 175, 80)
HSLhsl(46, 54%, 55%)
HSVhsv(46, 61%, 80%)
CMYKcmyk(0%, 13.8%, 60.6%, 20.4%)
CIE-LABlab(72.19, -1.07, 51.37)
CIE-LCHlch(72.19, 51.38, 91.20°)
OKLaboklab(75.99% -0.0061 0.1186)
OKLCHoklch(75.99% 0.119 93)
XYZxyz(41.4084, 43.9377, 13.8876)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF50 #506CCB
analogous
#CB7150 #CBAF50 #AACB50
triadic
#CBAF50 #50CBAF #AF50CB
tetradic
#CBAF50 #50CB71 #506CCB #CB50AA
square
#CBAF50 #50CB71 #506CCB #CB50AA
split-complementary
#CBAF50 #50AACB #7150CB
monochromatic
#7C6825 #AB9033 #CBAF50 #D9C57F #E7DAAE

Accessibility & contrast

On white

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

On black

9.79
#CBAF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF50
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF50#FFFFFF#000000##000000
##CBAF501.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC46
Deuteranopia (green-blind)
#C7B554
Tritanopia (blue-blind)
#DAA39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf50;
/* rgb */ color: rgb(203, 175, 80);
/* oklch */ color: oklch(76.0% 0.119 93.0);
Tailwind
colors: {
  custom: {
    50: '#dec684',
    500: '#cbaf50',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf50;
$custom-light: #dec684;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf50",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 46.341,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75993,
    "c": 0.11873,
    "h": 93
  },
  "luminance": 0.43936
}

Semantic roles & 50–950 ramp

primary
#CBAF50
secondary
#A2ADD5
accent
#6CDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBAF50

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

Preview Lab → · Contrast checker → · Palette generator →

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