#CBAD4F#CBAD4F

#CBAD4F is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.6% C 0.118 H 91.6°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CBAD4F
RGBrgb(203, 173, 79)
HSLhsl(45, 54%, 55%)
HSVhsv(45, 61%, 80%)
CMYKcmyk(0%, 14.8%, 61.1%, 20.4%)
CIE-LABlab(71.66, -0.09, 51.24)
CIE-LCHlch(71.66, 51.24, 90.10°)
OKLaboklab(75.57% -0.0034 0.1182)
OKLCHoklch(75.57% 0.118 91.6)
XYZxyz(40.9853, 43.1503, 13.5657)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAD4F #4F6DCB
analogous
#CB6F4F #CBAD4F #ABCB4F
triadic
#CBAD4F #4FCBAD #AD4FCB
tetradic
#CBAD4F #4FCB6F #4F6DCB #CB4FAB
square
#CBAD4F #4FCB6F #4F6DCB #CB4FAB
split-complementary
#CBAD4F #4FABCB #6F4FCB
monochromatic
#7B6624 #AA8D32 #CBAD4F #D9C37E #E7D9AD

Accessibility & contrast

On white

2.18
#CBAD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#CBAD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAD4F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAD4F#FFFFFF#000000##000000
##CBAD4F1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB45
Deuteranopia (green-blind)
#C5B353
Tritanopia (blue-blind)
#DAA098
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbad4f;
/* rgb */ color: rgb(203, 173, 79);
/* oklch */ color: oklch(75.6% 0.118 91.6);
Tailwind
colors: {
  custom: {
    50: '#dec584',
    500: '#cbad4f',
    950: '#000000',
  },
}
SCSS
$custom: #cbad4f;
$custom-light: #dec584;
$custom-dark: #000000;
JSON
{
  "hex": "#cbad4f",
  "rgb": {
    "r": 203,
    "g": 173,
    "b": 79
  },
  "hsl": {
    "h": 45.484,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75572,
    "c": 0.11821,
    "h": 91.6
  },
  "luminance": 0.43148
}

Semantic roles & 50–950 ramp

primary
#CBAD4F
secondary
#A1AED5
accent
#6EDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBAD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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