#CBAE4F#CBAE4F

#CBAE4F is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.8% C 0.119 H 92.4°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CBAE4F
RGBrgb(203, 174, 79)
HSLhsl(46, 54%, 55%)
HSVhsv(46, 61%, 80%)
CMYKcmyk(0%, 14.3%, 61.1%, 20.4%)
CIE-LABlab(71.92, -0.62, 51.53)
CIE-LCHlch(71.92, 51.54, 90.68°)
OKLaboklab(75.78% -0.0049 0.1188)
OKLCHoklch(75.78% 0.119 92.4)
XYZxyz(41.1778, 43.5353, 13.6298)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE4F #4F6CCB
analogous
#CB704F #CBAE4F #AACB4F
triadic
#CBAE4F #4FCBAE #AE4FCB
tetradic
#CBAE4F #4FCB70 #4F6CCB #CB4FAA
square
#CBAE4F #4FCB70 #4F6CCB #CB4FAA
split-complementary
#CBAE4F #4FAACB #704FCB
monochromatic
#7B6724 #AA8E32 #CBAE4F #D9C47E #E7D9AD

Accessibility & contrast

On white

2.16
#CBAE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CBAE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE4F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE4F#FFFFFF#000000##000000
##CBAE4F1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB45
Deuteranopia (green-blind)
#C6B453
Tritanopia (blue-blind)
#DAA199
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae4f;
/* rgb */ color: rgb(203, 174, 79);
/* oklch */ color: oklch(75.8% 0.119 92.4);
Tailwind
colors: {
  custom: {
    50: '#dec584',
    500: '#cbae4f',
    950: '#000000',
  },
}
SCSS
$custom: #cbae4f;
$custom-light: #dec584;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae4f",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 79
  },
  "hsl": {
    "h": 45.968,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75777,
    "c": 0.11888,
    "h": 92.4
  },
  "luminance": 0.43533
}

Semantic roles & 50–950 ramp

primary
#CBAE4F
secondary
#A1ADD5
accent
#6DDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBAE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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