#C0B239#C0B239

#C0B239 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.138 H 102.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C0B239
RGBrgb(192, 178, 57)
HSLhsl(54, 54%, 49%)
HSVhsv(54, 70%, 75%)
CMYKcmyk(0%, 7.3%, 70.3%, 24.7%)
CIE-LABlab(71.79, -8.77, 60.49)
CIE-LCHlch(71.79, 61.12, 98.25°)
OKLaboklab(75.38% -0.0301 0.1347)
OKLCHoklch(75.38% 0.138 102.6)
XYZxyz(38.3988, 43.3443, 10.2137)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B239 #3947C0
analogous
#C06F39 #C0B239 #8BC039
triadic
#C0B239 #39C0B2 #B239C0
tetradic
#C0B239 #39C06F #3947C0 #C0398B
square
#C0B239 #39C06F #3947C0 #C0398B
split-complementary
#C0B239 #398BC0 #6F39C0
monochromatic
#625B1D #91862B #C0B239 #D1C665 #DFD794

Accessibility & contrast

On white

2.17
#C0B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C0B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B239
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B239#FFFFFF#000000##000000
##C0B2391.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC26
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#CEA69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b239;
/* rgb */ color: rgb(192, 178, 57);
/* oklch */ color: oklch(75.4% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#d7c877',
    500: '#c0b239',
    950: '#000000',
  },
}
SCSS
$custom: #c0b239;
$custom-light: #d7c877;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b239",
  "rgb": {
    "r": 192,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 53.778,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7538,
    "c": 0.13798,
    "h": 102.6
  },
  "luminance": 0.43343
}

Semantic roles & 50–950 ramp

primary
#C0B239
secondary
#8A91CB
accent
#5ADE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B239

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

Preview Lab → · Contrast checker → · Palette generator →

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