#C8B24F#C8B24F

#C8B24F is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.3% C 0.121 H 96.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#C8B24F
RGBrgb(200, 178, 79)
HSLhsl(49, 52%, 55%)
HSVhsv(49, 61%, 78%)
CMYKcmyk(0%, 11%, 60.5%, 21.6%)
CIE-LABlab(72.69, -4.00, 52.31)
CIE-LCHlch(72.69, 52.47, 94.38°)
OKLaboklab(76.32% -0.0145 0.1205)
OKLCHoklch(76.32% 0.121 96.9)
XYZxyz(41.1528, 44.6865, 13.8533)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B24F #4F65C8
analogous
#C8764F #C8B24F #A2C84F
triadic
#C8B24F #4FC8B2 #B24FC8
tetradic
#C8B24F #4FC876 #4F65C8 #C84FA2
square
#C8B24F #4FC876 #4F65C8 #C84FA2
split-complementary
#C8B24F #4FA2C8 #764FC8
monochromatic
#776825 #A69134 #C8B24F #D7C67E #E5DBAC

Accessibility & contrast

On white

2.11
#C8B24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#C8B24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B24F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B24F#FFFFFF#000000##000000
##C8B24F1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE44
Deuteranopia (green-blind)
#C8B554
Tritanopia (blue-blind)
#D7A69C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b24f;
/* rgb */ color: rgb(200, 178, 79);
/* oklch */ color: oklch(76.3% 0.121 96.9);
Tailwind
colors: {
  custom: {
    50: '#dcc884',
    500: '#c8b24f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b24f;
$custom-light: #dcc884;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b24f",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 79
  },
  "hsl": {
    "h": 49.091,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76319,
    "c": 0.12139,
    "h": 96.9
  },
  "luminance": 0.44685
}

Semantic roles & 50–950 ramp

primary
#C8B24F
secondary
#A0A9D3
accent
#66DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B24F

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

Preview Lab → · Contrast checker → · Palette generator →

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