#CBAD3F#CBAD3F

#CBAD3F is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.4% C 0.131 H 93.6°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CBAD3F
RGBrgb(203, 173, 63)
HSLhsl(47, 57%, 52%)
HSVhsv(47, 69%, 80%)
CMYKcmyk(0%, 14.8%, 69%, 20.4%)
CIE-LABlab(71.52, -1.07, 58.14)
CIE-LCHlch(71.52, 58.15, 91.05°)
OKLaboklab(75.42% -0.0081 0.1304)
OKLCHoklch(75.42% 0.131 93.6)
XYZxyz(40.4714, 42.9448, 10.8591)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAD3F #3F5DCB
analogous
#CB673F #CBAD3F #A3CB3F
triadic
#CBAD3F #3FCBAD #AD3FCB
tetradic
#CBAD3F #3FCB67 #3F5DCB #CB3FA3
square
#CBAD3F #3FCB67 #3F5DCB #CB3FA3
split-complementary
#CBAD3F #3FA3CB #673FCB
monochromatic
#715F1F #A1882C #CBAD3F #D8C26F #E5D69F

Accessibility & contrast

On white

2.19
#CBAD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#CBAD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAD3F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAD3F#FFFFFF#000000##000000
##CBAD3F1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#DBA096
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbad3f;
/* rgb */ color: rgb(203, 173, 63);
/* oklch */ color: oklch(75.4% 0.131 93.6);
Tailwind
colors: {
  custom: {
    50: '#dfc57a',
    500: '#cbad3f',
    950: '#000000',
  },
}
SCSS
$custom: #cbad3f;
$custom-light: #dfc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbad3f",
  "rgb": {
    "r": 203,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 47.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75417,
    "c": 0.13062,
    "h": 93.6
  },
  "luminance": 0.42943
}

Semantic roles & 50–950 ramp

primary
#CBAD3F
secondary
#94A1D1
accent
#68E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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