#C39E2B#C39E2B

#C39E2B is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.4% C 0.133 H 89.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#C39E2B
RGBrgb(195, 158, 43)
HSLhsl(45, 64%, 47%)
HSVhsv(45, 78%, 76%)
CMYKcmyk(0%, 19%, 77.9%, 23.5%)
CIE-LABlab(66.70, 2.51, 60.87)
CIE-LCHlch(66.70, 60.92, 87.64°)
OKLaboklab(71.39% 0.0003 0.1326)
OKLCHoklch(71.39% 0.133 89.9)
XYZxyz(35.1707, 36.2325, 7.4262)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C39E2B #2B50C3
analogous
#C3522B #C39E2B #9CC32B
triadic
#C39E2B #2BC39E #9E2BC3
tetradic
#C39E2B #2BC352 #2B50C3 #C32B9C
square
#C39E2B #2BC352 #2B50C3 #C32B9C
split-complementary
#C39E2B #2B9CC3 #522BC3
monochromatic
#5F4D15 #917520 #C39E2B #D9B852 #E4CD84

Accessibility & contrast

On white

2.55
#C39E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#C39E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C39E2B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C39E2B#FFFFFF#000000##000000
##C39E2B1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C14
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#D39088
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c39e2b;
/* rgb */ color: rgb(195, 158, 43);
/* oklch */ color: oklch(71.4% 0.133 89.9);
Tailwind
colors: {
  custom: {
    50: '#daba6e',
    500: '#c39e2b',
    950: '#000000',
  },
}
SCSS
$custom: #c39e2b;
$custom-light: #daba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c39e2b",
  "rgb": {
    "r": 195,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 45.395,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.13262,
    "h": 89.9
  },
  "luminance": 0.3623
}

Semantic roles & 50–950 ramp

primary
#C39E2B
secondary
#7D90CD
accent
#69E741
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161108
muted
#84807B

Preview Lab

Preview with #C39E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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