#C0B258#C0B258

#C0B258 is a light, moderate yellow. Relative luminance 0.438; OKLCH L 75.7% C 0.113 H 100.6°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C0B258
RGBrgb(192, 178, 88)
HSLhsl(52, 45%, 55%)
HSVhsv(52, 54%, 75%)
CMYKcmyk(0%, 7.3%, 54.2%, 24.7%)
CIE-LABlab(72.06, -6.70, 47.18)
CIE-LCHlch(72.06, 47.66, 98.09°)
OKLaboklab(75.69% -0.0207 0.1107)
OKLCHoklch(75.69% 0.113 100.6)
XYZxyz(39.4214, 43.7533, 15.5993)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B258 #5866C0
analogous
#C07E58 #C0B258 #9AC058
triadic
#C0B258 #58C0B2 #B258C0
tetradic
#C0B258 #58C07E #5866C0 #C0589A
square
#C0B258 #58C07E #5866C0 #C0589A
split-complementary
#C0B258 #589AC0 #7E58C0
monochromatic
#72692B #9F923C #C0B258 #D1C684 #E2DBB1

Accessibility & contrast

On white

2.15
#C0B258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#C0B258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B258
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B258#FFFFFF#000000##000000
##C0B2581.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4F
Deuteranopia (green-blind)
#C4B35C
Tritanopia (blue-blind)
#CDA79E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c0b258;
/* rgb */ color: rgb(192, 178, 88);
/* oklch */ color: oklch(75.7% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#d5c88a',
    500: '#c0b258',
    950: '#000000',
  },
}
SCSS
$custom: #c0b258;
$custom-light: #d5c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b258",
  "rgb": {
    "r": 192,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 51.923,
    "s": 45.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75686,
    "c": 0.11263,
    "h": 100.6
  },
  "luminance": 0.43752
}

Semantic roles & 50–950 ramp

primary
#C0B258
secondary
#A4AAD0
accent
#64D553
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C0B258

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

Preview Lab → · Contrast checker → · Palette generator →

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