#CFB25A#CFB25A

#CFB25A is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.113 H 91.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CFB25A
RGBrgb(207, 178, 90)
HSLhsl(45, 55%, 58%)
HSVhsv(45, 57%, 81%)
CMYKcmyk(0%, 14%, 56.5%, 18.8%)
CIE-LABlab(73.45, -0.22, 48.18)
CIE-LCHlch(73.45, 48.18, 90.27°)
OKLaboklab(77.11% -0.0027 0.1128)
OKLCHoklch(77.11% 0.113 91.4)
XYZxyz(43.4998, 45.8465, 16.2289)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB25A #5A77CF
analogous
#CF775A #CFB25A #B2CF5A
triadic
#CFB25A #5ACFB2 #B25ACF
tetradic
#CFB25A #5ACF77 #5A77CF #CF5AB2
square
#CFB25A #5ACF77 #5A77CF #CF5AB2
split-complementary
#CFB25A #5AB2CF #775ACF
monochromatic
#876F27 #B79735 #CFB25A #DDC889 #EBDEB9

Accessibility & contrast

On white

2.07
#CFB25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CFB25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB25A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB25A#FFFFFF#000000##000000
##CFB25A1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B052
Deuteranopia (green-blind)
#CAB85E
Tritanopia (blue-blind)
#DEA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb25a;
/* rgb */ color: rgb(207, 178, 90);
/* oklch */ color: oklch(77.1% 0.113 91.4);
Tailwind
colors: {
  custom: {
    50: '#e0c88b',
    500: '#cfb25a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb25a;
$custom-light: #e0c88b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb25a",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 90
  },
  "hsl": {
    "h": 45.128,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77109,
    "c": 0.11282,
    "h": 91.4
  },
  "luminance": 0.45844
}

Semantic roles & 50–950 ramp

primary
#CFB25A
secondary
#ABB7DA
accent
#6EDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB25A

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

Preview Lab → · Contrast checker → · Palette generator →

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