#C9B348#C9B348

#C9B348 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.5% C 0.128 H 97.6°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C9B348
RGBrgb(201, 179, 72)
HSLhsl(50, 54%, 54%)
HSVhsv(50, 64%, 79%)
CMYKcmyk(0%, 10.9%, 64.2%, 21.2%)
CIE-LABlab(72.98, -4.56, 55.79)
CIE-LCHlch(72.98, 55.98, 94.68°)
OKLaboklab(76.55% -0.017 0.1269)
OKLCHoklch(76.55% 0.128 97.6)
XYZxyz(41.3790, 45.1275, 12.6605)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B348 #485EC9
analogous
#C97248 #C9B348 #9EC948
triadic
#C9B348 #48C9B3 #B348C9
tetradic
#C9B348 #48C972 #485EC9 #C9489E
square
#C9B348 #48C972 #485EC9 #C9489E
split-complementary
#C9B348 #489EC9 #7248C9
monochromatic
#746622 #A49030 #C9B348 #D7C777 #E5DAA7

Accessibility & contrast

On white

2.09
#C9B348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C9B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B348
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B348#FFFFFF#000000##000000
##C9B3481.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#CAB64E
Tritanopia (blue-blind)
#D8A69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c9b348;
/* rgb */ color: rgb(201, 179, 72);
/* oklch */ color: oklch(76.5% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#ddc980',
    500: '#c9b348',
    950: '#000000',
  },
}
SCSS
$custom: #c9b348;
$custom-light: #ddc980;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b348",
  "rgb": {
    "r": 201,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 49.767,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7655,
    "c": 0.12803,
    "h": 97.6
  },
  "luminance": 0.45126
}

Semantic roles & 50–950 ramp

primary
#C9B348
secondary
#9BA4D2
accent
#63DE4A
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C9B348

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

Preview Lab → · Contrast checker → · Palette generator →

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