#C9B73F#C9B73F

#C9B73F is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.3% C 0.138 H 100.6°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#C9B73F
RGBrgb(201, 183, 63)
HSLhsl(52, 56%, 52%)
HSVhsv(52, 69%, 79%)
CMYKcmyk(0%, 9%, 68.7%, 21.2%)
CIE-LABlab(73.96, -7.17, 60.58)
CIE-LCHlch(73.96, 61.00, 96.75°)
OKLaboklab(77.31% -0.0254 0.1356)
OKLCHoklch(77.31% 0.138 100.6)
XYZxyz(41.9199, 46.6452, 11.4970)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B73F #3F51C9
analogous
#C9723F #C9B73F #96C93F
triadic
#C9B73F #3FC9B7 #B73FC9
tetradic
#C9B73F #3FC972 #3F51C9 #C93F96
square
#C9B73F #3FC972 #3F51C9 #C93F96
split-complementary
#C9B73F #3F96C9 #723FC9
monochromatic
#6F641F #9E8F2D #C9B73F #D6C96F #E4DB9F

Accessibility & contrast

On white

2.03
#C9B73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#C9B73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B73F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B73F#FFFFFF#000000##000000
##C9B73F1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22E
Deuteranopia (green-blind)
#CDB946
Tritanopia (blue-blind)
#D8AA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c9b73f;
/* rgb */ color: rgb(201, 183, 63);
/* oklch */ color: oklch(77.3% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#ddcc7b',
    500: '#c9b73f',
    950: '#000000',
  },
}
SCSS
$custom: #c9b73f;
$custom-light: #ddcc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b73f",
  "rgb": {
    "r": 201,
    "g": 183,
    "b": 63
  },
  "hsl": {
    "h": 52.174,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7731,
    "c": 0.13795,
    "h": 100.6
  },
  "luminance": 0.46643
}

Semantic roles & 50–950 ramp

primary
#C9B73F
secondary
#949CD0
accent
#5CDF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9B73F

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

Preview Lab → · Contrast checker → · Palette generator →

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